From a508baeaccff18ca6efbe7ad593709da1250cd7d Mon Sep 17 00:00:00 2001 From: Krzysztof Kaczor Date: Sun, 5 Nov 2023 09:50:29 +0100 Subject: [PATCH 1/2] Detect changes to locfile on CI --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4ff28eb..94c83f4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,6 +21,7 @@ jobs: - uses: actions-rs/cargo@v1 with: command: check + args: --locked - uses: actions-rs/cargo@v1 with: From a50b6fa6a3cc922bcb4dd461b4a76f4990bf77bd Mon Sep 17 00:00:00 2001 From: Krzysztof Kaczor Date: Sun, 5 Nov 2023 09:55:46 +0100 Subject: [PATCH 2/2] Bump lockfile during release process --- Cargo.lock | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 073c249..d29f577 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -681,7 +681,7 @@ dependencies = [ [[package]] name = "ny" -version = "0.1.1" +version = "0.1.2" dependencies = [ "clap", "colored", diff --git a/package.json b/package.json index b3c5614..60fdbaa 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "@changesets/cli": "^2.26.2" }, "scripts": { - "version": "changeset version && bun .changeset/sync-cargo-version.ts", + "version": "changeset version && bun .changeset/sync-cargo-version.ts && cargo check", "publish": "changeset tag" } }