From e1287364e890f93254ae94d2c1029decff139805 Mon Sep 17 00:00:00 2001 From: Sam Wilson Date: Thu, 26 Oct 2023 18:23:08 -0400 Subject: [PATCH] Lock crates in CI --- .github/workflows/test.yaml | 8 ++++---- CHANGELOG.md | 5 +++++ 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 04928ba3..7028e075 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -34,16 +34,16 @@ jobs: profile: minimal toolchain: 1.69.0 override: true - - run: cargo install wasm-pack --version 0.12.1 + - run: cargo install wasm-pack --version 0.12.1 --locked - uses: actions-rs/cargo@v1 with: command: test - args: --all --no-default-features + args: --all --no-default-features --locked - uses: actions-rs/cargo@v1 with: command: test - args: --all --all-features - - run: wasm-pack test --node --all + args: --all --all-features --locked + - run: wasm-pack test --node --all --locked fmt: name: Rustfmt diff --git a/CHANGELOG.md b/CHANGELOG.md index ac204fe0..00345683 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,3 +8,8 @@ _Breaks compatibility with `--config` and `default_lints`._ - Add `prefix` (eg. `eip-`) and `suffix` (eg. `.md`) options to `markdown::proposal_ref` lint. + +### Fixed + +- Added `--locked` to GitHub Workflow so tests don't grab newer version of + crates.