v0.4.3 release #2
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: "Linux Build and Test" | |
# Trigger the workflow on push to master or pull request | |
"on": | |
push: | |
branches: | |
- master | |
pull_request: | |
env: | |
SCCACHE_GHA_ENABLED: "true" | |
RUSTC_WRAPPER: "sccache" | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
rust_build: | |
runs-on: ubuntu-latest | |
env: | |
SCCACHE_GHA_ENABLED: true | |
RUSTC_WRAPPER: sccache | |
CARGO_INCREMENTAL: 0 | |
CARGO_TERM_COLOR: always | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Rust | |
uses: dtolnay/rust-toolchain@stable | |
- name: Setup sccache | |
uses: mozilla-actions/sccache-action@v0.0.3 | |
with: | |
version: "v0.4.2" | |
- name: "Build the workspace" | |
run: cargo build --workspace | |
- name: "Run cargo test" | |
run: cargo test | |
- name: "Run cargo test --release" | |
run: cargo test --release |