Skip to content
This repository was archived by the owner on Jan 19, 2026. It is now read-only.

Commit d762b8a

Browse files
authored
Merge pull request #1091 from viccuad/main
ci: Adapt cargo `version-check` job for formatted Cargo.toml
2 parents a77bf3b + d561e17 commit d762b8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3636
- name: Check cargo file version
3737
run: |
38-
CARGO_VERSION=$(sed -n 's,^version = \"\(.*\)\",\1,p' Cargo.toml)
38+
CARGO_VERSION=$(sed -n 's,^version\s*= \"\(.*\)\",\1,p' Cargo.toml)
3939
TAG_VERSION=$(echo ${{ github.ref_name }} | sed 's/v//')
4040
4141
if [ "$CARGO_VERSION" != "$TAG_VERSION" ];then

0 commit comments

Comments
 (0)