Skip to content

Commit 6df4fd0

Browse files
authored
revert(ci): actually keep the locked check (#127)
* Revert "fix(ci): remove locked check (#125)" This reverts commit 1384e54. * fix: update lockfile
1 parent cd68e2a commit 6df4fd0

File tree

3 files changed

+14
-11
lines changed

3 files changed

+14
-11
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ jobs:
1717
steps:
1818
- uses: actions/checkout@v5
1919
- uses: Swatinem/rust-cache@v2
20+
- name: Update
21+
# Ensure the lockfile is up-to-date, which is required for publishing
22+
run: cargo update --locked
2023
- name: Format
2124
run: cargo fmt --check
2225
- name: Check

.github/workflows/crates-io.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ jobs:
1414
- uses: actions/checkout@v5
1515
- uses: rust-lang/crates-io-auth-action@v1
1616
id: auth
17-
- run: cargo publish --allow-dirty
17+
- run: cargo publish
1818
env:
1919
CARGO_REGISTRY_TOKEN: ${{ steps.auth.outputs.token }}

Cargo.lock

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)