Skip to content

Commit

Permalink
Check against exact pattern match
Browse files Browse the repository at this point in the history
  • Loading branch information
jaisnan committed Sep 20, 2023
1 parent f678266 commit dd5ef10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:

- name: Test run Kani with older version
run: |
installed_version=$(kani --version)
installed_version=$(kani --version | awk '{print $2})
expected_version='0.33.0'
if [[ "$installed_version" == "$expected_version" ]]; then
Expand All @@ -57,7 +57,7 @@ jobs:

- name: Test run Kani with latest version
run: |
installed_version=$(kani --version)
installed_version=$(kani --version | awk '{print $2})
expected_version=$(cargo search kani-verifier | grep -m 1 "^kani-verifier " | awk '{print $3}')
if [[ "$installed_version" == "$expected_version" ]]; then
Expand Down

0 comments on commit dd5ef10

Please sign in to comment.