Skip to content

Commit

Permalink
ci: add msrv_cargo_lock.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
realeinherjar committed Oct 13, 2023
1 parent 79bdd55 commit 4438ca0
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/msrv_cargo_lock.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
on: [push, pull, workflow_dispatch]

name: MSRV Cargo.lock

jobs:

MSRV-cargo-lock:
name: MSRV Cargo.lock
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: Install Rust toolchain
uses: actions-rs/[email protected]
- name: Pin dependencies for MSRV
run: |
cargo update -p log --precise "0.4.18"
cargo update -p tempfile --precise "3.6.0"
cargo update -p rustls:0.21.7 --precise "0.21.1"
cargo update -p rustls:0.20.9 --precise "0.20.8"
cargo update -p tokio:1.33.0 --precise "1.29.1"
cargo update -p tokio-util --precise "0.7.8"
cargo update -p flate2:1.0.27 --precise "1.0.26"
cargo update -p reqwest --precise "0.11.18"
cargo update -p h2 --precise "0.3.20"
cargo update -p rustls-webpki:0.100.3 --precise "0.100.1"
cargo update -p rustls-webpki:0.101.6 --precise "0.101.1"
cargo update -p zip:0.6.6 --precise "0.6.2"
cargo update -p time --precise "0.3.13"
cargo update -p cc --precise "1.0.81"
cargo update -p byteorder --precise "1.4.3"
cargo update -p webpki --precise "0.22.2"
cargo update -p jobserver --precise "0.1.26"
- name: Generate Cargo.Lock
run: cargo generate-lockfile
- name: Upload MSRV Cargo.lock
uses: actions/upload-artifact@v3
with:
name: CargoMSRV.Lock
path: Cargo.lock

0 comments on commit 4438ca0

Please sign in to comment.