Skip to content

Commit

Permalink
chore(ci): debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
clechasseur committed Oct 4, 2024
1 parent 1891de3 commit b20ec13
Showing 1 changed file with 27 additions and 2 deletions.
29 changes: 27 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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' || '' }}
Expand Down

0 comments on commit b20ec13

Please sign in to comment.