From 3567cff95baf9f1d49e63f6d6efd8a607821a066 Mon Sep 17 00:00:00 2001 From: Michael Farrell Date: Tue, 11 Jul 2023 11:50:13 +1000 Subject: [PATCH 1/4] run tests on MSRV, for all macOS versions --- .github/workflows/rust.yml | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index db1da771a..7b9865c98 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -27,24 +27,19 @@ jobs: - uses: actions/checkout@v2 - name: Check semver uses: obi1kenobi/cargo-semver-checks-action@v2 - msrv: - runs-on: macos-11.0 - steps: - - uses: actions/checkout@v2 - - name: Install toolchain - uses: actions-rs/toolchain@v1 - with: - toolchain: 1.56.1 - override: true - - name: Build - run: cargo build --verbose build: runs-on: ${{ matrix.os }} strategy: matrix: os: [macos-11.0, macos-12, macos-13] + toolchain: [stable, 1.56.1] steps: - uses: actions/checkout@v2 + - name: Install toolchain + uses: actions-rs/toolchain@v1 + with: + toolchain: ${{ matrix.toolchain }} + override: true - name: Build run: cargo build --verbose - name: Run tests From abc8453eaea28064d990ef854eb5d8cc4a948c5c Mon Sep 17 00:00:00 2001 From: Michael Farrell Date: Tue, 11 Jul 2023 11:59:55 +1000 Subject: [PATCH 2/4] use dtolnay/rust-toolchain rather than unmaintained actions-rs/toolchain --- .github/workflows/rust.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 7b9865c98..23b58be4f 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -36,10 +36,9 @@ jobs: steps: - uses: actions/checkout@v2 - name: Install toolchain - uses: actions-rs/toolchain@v1 + uses: dtolnay/rust-toolchain@master with: toolchain: ${{ matrix.toolchain }} - override: true - name: Build run: cargo build --verbose - name: Run tests From aa058ca3f77100cd81047d5115c223a699b00837 Mon Sep 17 00:00:00 2001 From: Michael Farrell Date: Tue, 25 Jul 2023 12:32:05 +1000 Subject: [PATCH 3/4] remove "msrv" build target as blocker for build result, as it is part of build --- .github/workflows/rust.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 23b58be4f..a43d688b2 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -48,7 +48,6 @@ jobs: runs-on: ubuntu-latest needs: - "build" - - "msrv" - "semver" steps: - name: Mark the job as successful From 8d524a14bf1faacb7cadfeb7b75da9b2cccde289 Mon Sep 17 00:00:00 2001 From: Michael Farrell Date: Wed, 9 Aug 2023 12:10:05 +1000 Subject: [PATCH 4/4] update outdated actions/checkout --- .github/workflows/rust.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index a43d688b2..86af73eab 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -24,7 +24,7 @@ jobs: semver: runs-on: macos-11.0 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Check semver uses: obi1kenobi/cargo-semver-checks-action@v2 build: @@ -34,7 +34,7 @@ jobs: os: [macos-11.0, macos-12, macos-13] toolchain: [stable, 1.56.1] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Install toolchain uses: dtolnay/rust-toolchain@master with: