From 1fb12e1917cc90ab00e9a3754ffb3f636c0561f4 Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Thu, 2 May 2024 12:51:33 +1000 Subject: [PATCH] CI: Remove recent from schemars job We do not used `cargo --locked` in the schemars job so copying the recent lock file is deceiving. --- .github/workflows/rust.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 33df96b84..120a0cda2 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -254,15 +254,12 @@ jobs: runs-on: ubuntu-latest strategy: fail-fast: false - matrix: - dep: [recent] + # Note we do not use the recent lock file for schemars testing. steps: - name: "Checkout repo" uses: actions/checkout@v4 - name: "Select toolchain" uses: dtolnay/rust-toolchain@stable - - name: "Copy lock file" - run: cp Cargo-${{ matrix.dep }}.lock Cargo.lock - name: "Run test script" run: ./contrib/run_task.sh schemars