Refactor game initialization and credentials #650
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Rust Tests | |
| on: | |
| push: | |
| branches: [ "master" ] | |
| pull_request: | |
| branches: [ "master" ] | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - run: rustup toolchain install 1.77 --profile minimal --no-self-update | |
| - name: Rust Cache | |
| uses: Swatinem/rust-cache@v2.2.0 | |
| - name: Check | |
| run: cargo check | |
| - name: Run Tests | |
| run: cargo test |