Steamworks 0.13 migration (#47) #32
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: Main | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths-ignore: | |
| - ".gitignore" | |
| - ".github/dependabot.yml" | |
| pull_request: | |
| paths-ignore: | |
| - ".gitignore" | |
| - ".github/dependabot.yml" | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| test: | |
| name: Test | |
| runs-on: ubuntu-latest | |
| steps: | |
| # We're running into a space limit, | |
| # which causes `ld` to terminate with a bus error. | |
| - name: Free disk space | |
| uses: endersonmenezes/free-disk-space@v3 | |
| with: | |
| remove_android: true | |
| rm_cmd: "rmz" | |
| - name: Clone repo | |
| uses: actions/checkout@v3 | |
| - name: Instal latest stable toolchain | |
| uses: dtolnay/rust-toolchain@stable | |
| - name: Cache crates | |
| uses: Swatinem/rust-cache@v2 | |
| - name: Test | |
| run: cargo test | |
| clippy: | |
| name: Clippy | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Clone repo | |
| uses: actions/checkout@v3 | |
| - name: Instal latest stable toolchain | |
| uses: dtolnay/rust-toolchain@stable | |
| - name: Cache crates | |
| uses: Swatinem/rust-cache@v2 | |
| - name: Clippy | |
| run: cargo clippy --workspace --all-targets --all-features -- -D warnings | |
| format: | |
| name: Format | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Clone repo | |
| uses: actions/checkout@v3 | |
| - name: Install Taplo | |
| run: cargo install --locked taplo-cli | |
| - name: Format | |
| run: | | |
| cargo fmt --all --check | |
| taplo fmt --check | |
| typos: | |
| name: Typos | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Clone repo | |
| uses: actions/checkout@v6 | |
| - name: Check typos | |
| uses: crate-ci/typos@v1.40.0 |