ci: switch to sccache + dtolnay/rust-toolchain #110
Workflow file for this run
This file contains 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: ci | |
on: | |
push: | |
workflow_dispatch: | |
permissions: | |
contents: read | |
env: | |
# configure sccache to cache the build artifacts (on github caches) | |
SCCACHE_GHA_ENABLED: "true" | |
RUSTC_WRAPPER: "sccache" | |
jobs: | |
tests: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest] | |
env: | |
CARGO_TERM_COLOR: always | |
RUST_BACKTRACE: full | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
submodules: "true" | |
- uses: mozilla-actions/[email protected] | |
- uses: jdx/mise-action@v2 | |
- run: mise install | |
shell: bash | |
- run: make generate | |
- run: make check_no_uncommitted_changes_on_sdk | |
- run: make check | |
- run: make test |