Skip to content

Commit

Permalink
ci: pin cc for MSRV
Browse files Browse the repository at this point in the history
  • Loading branch information
apoelstra committed Jun 10, 2024
1 parent 9857edd commit 4fb4de3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,4 +107,4 @@ jobs:
toolchain: ${{ matrix.rust }}
override: true
- name: Running cargo in release mode
run: cargo test --features="global-context" --release
run: cargo update -p cc --precise 1.0.94 && cargo test --features="global-context" --release
5 changes: 5 additions & 0 deletions contrib/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ rustc --version
# Make all cargo invocations verbose
export CARGO_TERM_VERBOSE=true

# Pin dependencies as required if we are using MSRV toolchain.
if cargo --version | grep "1\.56"; then
cargo update -p cc --precise 1.0.94
fi

# Defaults / sanity checks
cargo build --all
cargo test --all
Expand Down

0 comments on commit 4fb4de3

Please sign in to comment.