Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 6 additions & 24 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,32 +16,14 @@ permissions:

jobs:
rust:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.85.0
components: clippy, rustfmt
- name: Restore Rust cache
uses: Swatinem/rust-cache@v2
with:
shared-key: linux-ci
cache-targets: true
cache-all-crates: false
cache-workspace-crates: false
cache-bin: false
save-if: ${{ github.ref == 'refs/heads/main' }}
cache-on-failure: false
- name: Format
run: cargo fmt --all --check
- name: Clippy
run: cargo clippy --locked --all-targets -- -D warnings
- name: Tests
run: cargo test --locked --workspace
uses: wrightkit/.github/.github/workflows/rust-quality.yml@19ea0a318d6a1ef626321373f87ff8d59b5a46ae
with:
toolchain: 1.85.0
all-targets: true
cache-shared-key: linux-ci

conformance:
needs: rust
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
Expand Down