Skip to content

Commit

Permalink
Rework GitHub workflows
Browse files Browse the repository at this point in the history
This change fixes the test job to properly test against multiple Rust
versions, and adds the first version of Rust to support Rust 2021.
  • Loading branch information
MitMaro committed Jun 30, 2024
1 parent 26bc8ec commit 3fef42a
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ jobs:
test:
strategy:
matrix:
version: ['stable', 'nightly']
version: ['1.56.0', 'stable', 'nightly']
runs-on: [ubuntu-latest]
timeout-minutes: 5
steps:
- uses: actions/checkout@v2
- name: Install latest Rust
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
toolchain: ${{ matrix.version }}
profile: minimal
override: true
- name: Test
Expand All @@ -27,12 +27,6 @@ jobs:
timeout-minutes: 5
steps:
- uses: actions/checkout@v2
- name: Install latest Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
override: true
- name: Install latest nightly Rust
uses: actions-rs/toolchain@v1
with:
Expand Down

0 comments on commit 3fef42a

Please sign in to comment.