Skip to content

Refactor parameter types: change some String parameters to traits and… #17

Refactor parameter types: change some String parameters to traits and…

Refactor parameter types: change some String parameters to traits and… #17

Workflow file for this run

---
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