Skip to content

Improve game agnosticism for Client and Server #30

Improve game agnosticism for Client and Server

Improve game agnosticism for Client and Server #30

Workflow file for this run

name: Rust
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
- name: Upload binary
if: success()
uses: actions/upload-artifact@v3
with:
name: binary
path: target/debug/rust-game-server
- name: Test
run: cargo test --verbose
- name: Format
run: cargo fmt --all -- --check
- name: Clippy
run: cargo clippy -- -D warnings