Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
Signed-off-by: Xuanwo <github@xuanwo.io>
  • Loading branch information
Xuanwo committed Mar 9, 2023
1 parent cf0b112 commit e784579
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
name: ci
on: [push, pull_request]

env:
# Oldest supported version, keep in sync with README.md
SCCACHE_MSRV: "1.64.0"

jobs:
lint:
name: ${{ matrix.component }} ${{ matrix.os }}
Expand All @@ -29,7 +25,8 @@ jobs:
uses: ./.github/actions/rust-toolchain
with:
components: ${{ matrix.component }}
toolchain: ${{ env.SCCACHE_MSRV }}
# Oldest supported version, keep in sync with README.md
toolchain: "1.64.0"

- name: clippy version
run: cargo clippy --version
Expand All @@ -48,9 +45,11 @@ jobs:
matrix:
include:
- os: ubuntu-20.04
rustc: ${{ env.SCCACHE_MSRV }}
# Oldest supported version, keep in sync with README.md
rustc: "1.64.0"
- os: ubuntu-22.04
rustc: ${{ env.SCCACHE_MSRV }}
# Oldest supported version, keep in sync with README.md
rustc: "1.64.0"
extra_desc: dist-server
extra_args: --no-default-features --features=dist-tests test_dist_ -- --test-threads 1
- os: ubuntu-20.04
Expand All @@ -64,7 +63,8 @@ jobs:
- os: ubuntu-22.04
- os: macOS-11
- os: windows-2019
rustc: ${{ env.SCCACHE_MSRV }}
# Oldest supported version, keep in sync with README.md
rustc: "1.64.0"
- os: windows-2019
rustc: nightly
allow_failure: true
Expand Down

0 comments on commit e784579

Please sign in to comment.