Skip to content

Commit

Permalink
Merge pull request #213 from moka-rs/fix-ci-2023-01-24
Browse files Browse the repository at this point in the history
Fix the CI for Rust nightly with minimal dependency versions
  • Loading branch information
tatsuya6502 committed Jan 25, 2023
2 parents 6f981e5 + 25e4326 commit 84bee99
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ linux_arm64_task:
if [ -z "$RUST_VERSION" ]; then
echo 'Downgrading dependencies to minimal versions'
cargo update -Z minimal-versions
cargo update -p openssl --precise 0.10.39
else
echo 'Skipped'
fi
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,11 @@ jobs:
command: update
args: -Z minimal-versions

- name: Pin some dependencies to specific versions (Nightly only)
if: ${{ matrix.rust == 'nightly' }}
run: |
cargo update -p openssl --precise 0.10.39
- name: Pin some dependencies to specific versions (MSRV only)
if: ${{ matrix.rust == '1.51.0' }}
# hashbrown >= v0.12 requires Rust 2021 edition.
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/CIQuantaDisabled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ jobs:
command: update
args: -Z minimal-versions

- name: Pin some dependencies to specific versions (Nightly only)
if: ${{ matrix.rust == 'nightly' }}
run: |
cargo update -p openssl --precise 0.10.39
- name: Pin some dependencies to specific versions (MSRV only)
if: ${{ matrix.rust == '1.51.0' }}
# hashbrown >= v0.12 requires Rust 2021 edition.
Expand Down

0 comments on commit 84bee99

Please sign in to comment.