ci: scope native release target cache #395
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 Ubuntu | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| env: | |
| CARGO_TERM_COLOR: always | |
| RUSTFLAGS: "-D warnings" | |
| jobs: | |
| check: | |
| name: Check (ubuntu-latest) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup soldr | |
| id: setup-soldr | |
| uses: zackees/setup-soldr@v0 | |
| with: | |
| cache: true | |
| build-cache: true | |
| target-cache: true | |
| - name: Check | |
| run: soldr cargo check --workspace --all-targets | |
| - name: Clippy | |
| run: soldr cargo clippy --workspace --all-targets -- -D warnings | |
| - name: Test | |
| run: soldr cargo test --workspace |