Skip to content

Fix path to rustc wrapper #80

Fix path to rustc wrapper

Fix path to rustc wrapper #80

Workflow file for this run

name: Test
on:
pull_request:
branches: [main]
push:
branches: [main]
jobs:
test:
name: Run tests
runs-on: ubuntu-24.04
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.REPO_PAT }}
submodules: recursive
persist-credentials: true
- uses: de-vri-es/setup-git-credentials@v2
with:
credentials: https://garyttierney:${{secrets.REPO_PAT}}@github.com
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- name: Build
run: cargo build --all
env:
CARGO_INCREMENTAL: 0
- name: Test
run: cargo test --all
cargo-deny:
name: Check dependencies
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.REPO_PAT }}
submodules: recursive
persist-credentials: true
- uses: de-vri-es/setup-git-credentials@v2
with:
credentials: https://garyttierney:${{secrets.REPO_PAT}}@github.com
- uses: EmbarkStudios/cargo-deny-action@v1
clippy:
name: Clippy
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.REPO_PAT }}
submodules: recursive
persist-credentials: true
- uses: de-vri-es/setup-git-credentials@v2
with:
credentials: https://garyttierney:${{secrets.REPO_PAT}}@github.com
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- run: cargo clippy --workspace --all-targets --all-features -- -Aunused
fmt:
name: Formatting
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.REPO_PAT }}
submodules: recursive
persist-credentials: true
- uses: de-vri-es/setup-git-credentials@v2
with:
credentials: https://garyttierney:${{secrets.REPO_PAT}}@github.com
- uses: dtolnay/rust-toolchain@nightly
with:
components: rustfmt
- run: cargo +nightly fmt --all --check