stwo ver bump: align execution resources names #1402
Workflow file for this run
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: check | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| jobs: | |
| rustfmt: | |
| runs-on: namespace-profile-medium-ubuntu-24-04-amd64 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - run: rustup show | |
| - run: rustup toolchain install nightly-2025-07-14 --profile minimal | |
| - run: rustup component add rustfmt --toolchain nightly-2025-07-14 | |
| - uses: Swatinem/rust-cache@v2 | |
| - run: cargo +nightly-2025-07-14 fmt --all -- --check | |
| clippy: | |
| runs-on: namespace-profile-medium-ubuntu-24-04-amd64 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - run: rustup show | |
| - run: rustup toolchain install nightly-2025-07-14 --profile minimal | |
| - run: rustup component add clippy --toolchain nightly-2025-07-14 | |
| - uses: Swatinem/rust-cache@v2 | |
| - run: cargo +nightly-2025-07-14 clippy --workspace --all-targets --all-features -- -D warnings -D future-incompatible -D rust-2018-idioms | |
| tests: | |
| runs-on: namespace-profile-large-ubuntu-24-04-amd64 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: "true" | |
| - run: rustup show | |
| - run: rustup toolchain install nightly-2025-07-14 --profile minimal | |
| - uses: Swatinem/rust-cache@v2 | |
| - uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.11' | |
| - name: Free disk space | |
| uses: jlumbroso/free-disk-space@v1.3.1 | |
| with: | |
| android: true | |
| dotnet: true | |
| haskell: true | |
| large-packages: false | |
| tool-cache: false | |
| - name: "Unit tests" | |
| run: | | |
| cargo +nightly-2025-07-14 test --workspace --all-targets --all-features | |
| - name: "Test examples" | |
| run: | | |
| cargo +nightly-2025-07-14 run --example run_program | |
| udeps: | |
| runs-on: namespace-profile-medium-ubuntu-24-04-amd64 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - run: rustup show | |
| - run: rustup toolchain install nightly-2025-07-14 --profile minimal | |
| - uses: Swatinem/rust-cache@v2 | |
| with: | |
| cache-on-failure: true | |
| - run: cargo install cargo-udeps --locked | |
| - run: cargo +nightly-2025-07-14 udeps |