Skip to content

Commit

Permalink
test minimum supported rust version on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
scottlamb committed Oct 23, 2024
1 parent 12f14b4 commit fbcef28
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,19 @@ jobs:
strategy:
fail-fast: false
matrix:
rust: [stable, 1.79]
runner: [ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@v4
- name: Setup Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: stable
toolchain: ${{ matrix.rust }}
components: clippy
- name: Cache
uses: Swatinem/rust-cache@v2
with:
key: ${{ matrix.runner }}
key: ${{ matrix.rust }}-${{ matrix.runner }}
- run: cargo install cargo-criterion
- run: uname -a
- run: cargo fmt -- --check
Expand All @@ -46,4 +47,4 @@ jobs:
uses: Swatinem/rust-cache@v2
with:
key: miri
- run: cargo miri test
- run: cargo miri test

0 comments on commit fbcef28

Please sign in to comment.