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
18 changes: 16 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: CI

permissions:
contents: read

on:
push:
branches: [main]
Expand Down Expand Up @@ -30,6 +33,8 @@ jobs:
flags: "--all-features"
steps:
- uses: actions/checkout@v5
with:
persist-credentials: false
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
Expand All @@ -50,6 +55,8 @@ jobs:
timeout-minutes: 30
steps:
- uses: actions/checkout@v5
with:
persist-credentials: false
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
with:
Expand All @@ -61,6 +68,8 @@ jobs:
timeout-minutes: 30
steps:
- uses: actions/checkout@v5
with:
persist-credentials: false
- uses: dtolnay/rust-toolchain@stable
- uses: taiki-e/install-action@cargo-hack
- uses: Swatinem/rust-cache@v2
Expand All @@ -74,9 +83,9 @@ jobs:
timeout-minutes: 30
steps:
- uses: actions/checkout@v5
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy
persist-credentials: false
- uses: dtolnay/rust-toolchain@clippy
Comment on lines +87 to +88
Copy link
Member Author

@zerosnacks zerosnacks Sep 15, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note: this now uses @clippy in line with other Foundry crates & Foundry which is nightly + clippy shorthand

- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
Expand All @@ -89,6 +98,8 @@ jobs:
timeout-minutes: 30
steps:
- uses: actions/checkout@v5
with:
persist-credentials: false
- uses: dtolnay/rust-toolchain@nightly
- uses: Swatinem/rust-cache@v2
with:
Expand All @@ -102,6 +113,8 @@ jobs:
timeout-minutes: 30
steps:
- uses: actions/checkout@v5
with:
persist-credentials: false
- uses: dtolnay/rust-toolchain@nightly
with:
components: rustfmt
Expand All @@ -113,6 +126,7 @@ jobs:
ci-success:
runs-on: ubuntu-latest
if: always()
permissions: {}
needs:
- test
- doctest
Expand Down
Loading