Skip to content

Commit

Permalink
fix(CI): temporarily pin nightly version
Browse files Browse the repository at this point in the history
  • Loading branch information
kaspar030 committed Sep 13, 2024
1 parent 9181c1a commit 92aa4ff
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,20 +40,24 @@ jobs:
test:
strategy:
matrix:
toolchain: [ nightly, stable ]
toolchain: [ nightly-2024-09-01, stable ]
runs-on: ubuntu-latest
env:
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"

# this strips the date suffix from the github job name so we don't have to
# touch our required statusses list.
name: test (${{ startsWith(matrix.toolchain, 'nightly') && 'nightly' || matrix.toolchain }})

steps:
- name: Check out repository code
uses: actions/checkout@v3

- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.toolchain }}
components: llvm-tools-preview
components: llvm-tools

- name: rust cache
uses: Swatinem/rust-cache@v2
Expand Down Expand Up @@ -82,7 +86,7 @@ jobs:
run: "LAZE=$(pwd)/target/debug/laze make -C src/tests"

- name: "collect coverage results"
if: ${{ matrix.toolchain == 'nightly' }}
if: ${{ startsWith(matrix.toolchain, 'nightly') }}
run: >
RUSTUP_TOOLCHAIN=${{ matrix.toolchain }}
grcov
Expand All @@ -95,7 +99,7 @@ jobs:
--ignore "/*"
- name: Coveralls
if: ${{ matrix.toolchain == 'nightly' }}
if: ${{ startsWith(matrix.toolchain, 'nightly') }}
uses: coverallsapp/github-action@v1
with:
path-to-lcov: "lcov.info"

0 comments on commit 92aa4ff

Please sign in to comment.