From 093a7f7c3366c82525745374af48ff3f1f24f602 Mon Sep 17 00:00:00 2001 From: Tim Oram Date: Sun, 30 Jun 2024 10:50:41 -0230 Subject: [PATCH] Rework GitHub workflows This change fixes the test job to properly test against multiple Rust versions, and adds the first version of Rust to support Rust 2021. --- .github/workflows/pull-request.yml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 3367aa7..fe2de5e 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -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 @@ -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: