diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f3e3b65..3d6cbfd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -79,7 +79,7 @@ jobs: - name: Rust Cache uses: Swatinem/rust-cache@23bce251a8cd2ffc3c1075eaa2367cf899916d84 # v2.7.3 with: - prefix-key: v7-rust + prefix-key: v10-rust key: all-features-${{ matrix.all-features }}-msrv-pins-files-${{ hashFiles('**/msrv-pins.toml') }} cache-on-failure: true @@ -90,8 +90,33 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Archive Cargo.lock to debug something + if: always() + uses: actions/upload-artifact@v4 + with: + name: 'cargo-lock-before' + path: 'Cargo.lock' + + - name: Prep Cargo.toml + run: just all_features=${{ matrix.all-features }} prep + + - name: Archive Cargo.lock to debug something (after prep) + if: always() + uses: actions/upload-artifact@v4 + with: + name: 'cargo-lock-after-prep' + path: 'Cargo.lock' + - name: Run checks using cargo-minimal-versions - run: just all_features=${{ matrix.all-features }} check-minimal + run: just all_features=${{ matrix.all-features }} _check-minimal-only + + - name: Archive Cargo.lock to debug something (after prep) + if: always() + uses: actions/upload-artifact@v4 + with: + name: 'cargo-lock-after' + path: 'Cargo.lock' + build: name: Build for Rust ${{ matrix.toolchain }}${{ matrix.experimental && ' (experimental)' || '' }} on ${{ matrix.os }}${{ matrix.ignore-lock && ' without Cargo.lock' || '' }}${{ matrix.all-features && ' with all features' || '' }}