Skip to content

Commit

Permalink
fix: set rust version to 1.79.0 in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
i0n committed Oct 30, 2024
1 parent 8cd8284 commit 86eee7c
Showing 1 changed file with 6 additions and 20 deletions.
26 changes: 6 additions & 20 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,7 @@ jobs:
check:
name: Check
if: github.event.review.state == 'approved'
strategy:
matrix:
include:
- os: ubuntu-latest
toolchain: stable-x86_64-unknown-linux-gnu
# - os: macos-latest
# toolchain: stable-x86_64-apple-darwin
runs-on: ${{ matrix.os }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
Expand All @@ -33,7 +26,7 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.toolchain }}
toolchain: 1.79.0
default: true
override: true
- uses: actions-rs/cargo@v1
Expand All @@ -44,14 +37,7 @@ jobs:
test:
name: Test Suite
if: github.event.review.state == 'approved'
strategy:
matrix:
include:
- os: ubuntu-latest
toolchain: stable-x86_64-unknown-linux-gnu
# - os: macos-latest
# toolchain: stable-x86_64-apple-darwin
runs-on: ${{ matrix.os }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
Expand All @@ -64,7 +50,7 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.toolchain }}
toolchain: 1.79.0
default: true
override: true
- uses: actions-rs/cargo@v1
Expand Down Expand Up @@ -92,7 +78,7 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
toolchain: 1.79.0
override: true
components: rustfmt, clippy

Expand Down Expand Up @@ -124,7 +110,7 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
toolchain: 1.79.0
override: true
- name: Run E2E Tests
run: cargo run -p test-runner

0 comments on commit 86eee7c

Please sign in to comment.