Skip to content

Commit

Permalink
ci: fix MSRV jobs with cargo update
Browse files Browse the repository at this point in the history
  • Loading branch information
notmandatory committed Jul 26, 2023
1 parent eef97ad commit 5ff5859
Show file tree
Hide file tree
Showing 6 changed files with 483 additions and 308 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/cont_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,14 @@ jobs:
profile: minimal
override: true
components: rustfmt, clippy
- name: Pin dependencies for MSRV
if: matrix.rust == '1.57.0'
run: |
cargo update
cargo update -p log --precise 0.4.18
cargo update -p hashlink --precise 0.8.0
cargo update -p tempfile:3.7.0 --precise 3.6.0
cargo update -p base64ct --precise 1.5.3
- name: Build
run: cargo build --no-default-features --features repl,${{ matrix.features }} --locked
- name: Clippy
Expand Down Expand Up @@ -81,6 +89,13 @@ jobs:
- run: sudo apt-get install -y libclang-common-10-dev clang-10 libc6-dev-i386 || exit 1
- name: Set default toolchain
run: rustup default 1.57.0 # MSRV
- name: Pin dependencies for MSRV
run: |
cargo update
cargo update -p log --precise 0.4.18
cargo update -p hashlink --precise 0.8.0
cargo update -p tempfile:3.7.0 --precise 3.6.0
cargo update -p base64ct --precise 1.5.3
- name: Set profile
run: rustup set profile minimal
- name: Add target wasm32
Expand Down
Loading

0 comments on commit 5ff5859

Please sign in to comment.