Skip to content

Commit 50d26b6

Browse files
authored
Remove github action version check (rust-lang#1907)
We currently have a circular dependency. The action repository cannot be on the same version as Kani by the time we run the release workflow. The github action CI enforces that the tracking version has been released. So we can't really update the github action until the release is complete.
1 parent e4851c1 commit 50d26b6

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,6 @@ jobs:
1919
- name: Checkout code
2020
uses: actions/checkout@v2
2121

22-
- name: Check action code
23-
uses: actions/checkout@v2
24-
with:
25-
repository: model-checking/kani-github-action
26-
path: kani-action
27-
2822
- name: Get version
2923
run: |
3024
# pkgid is something like file:///home/ubuntu/kani#kani-verifier:0.1.0
@@ -42,12 +36,6 @@ jobs:
4236
echo "Git tag ${{env.TAG_VERSION}} did not match crate version ${{env.CRATE_VERSION}}"
4337
exit 1
4438
fi
45-
# Check the action script's tag.
46-
if ! grep -F "KANI_VERSION=\"${{ env.TAG_VERSION }}" kani-action/action.yml; then
47-
echo "Git tag ${{env.TAG_VERSION}} did not match version in action.yml. Found:"
48-
grep -F "KANI_VERSION=" kani-action/action.yml
49-
exit 1;
50-
fi
5139
5240
- name: Create release
5341
id: create_release

0 commit comments

Comments
 (0)