Skip to content

Commit 9e760bb

Browse files
authored
Merge pull request #1434 from Lorak-mmk/semver-checks-workaround
Workaround for cargo-semver-checks bug
2 parents 4de3a37 + 0240f9d commit 9e760bb

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/semver_checks.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
# could do us a lot of harm. This is also the reason that there are
3030
# 2 jobs - it's so that it's not possible to take over a job that
3131
# has permissions.
32-
permissions: {}
32+
permissions: {}
3333
timeout-minutes: 30
3434
# This is to prevent a situation, when job A triggered by push 1 finishes
3535
# after job B triggered by push 2. That could result in incorrectly assigning
@@ -58,9 +58,10 @@ jobs:
5858
- name: Setup rust toolchain
5959
uses: actions-rust-lang/setup-rust-toolchain@v1
6060
- name: Install semver-checks
61-
uses: taiki-e/install-action@v2
62-
with:
63-
tool: cargo-semver-checks
61+
# This is a temporary workaround because current cargo-semver-checks doesn't work with this repo,
62+
# and needs a fix. After the bug is fixed, we should revert to using taiki-e/install-action.
63+
# See: https://github.com/obi1kenobi/cargo-semver-checks/issues/1379
64+
run: cargo install --git https://github.com/Lorak-mmk/cargo-semver-checks.git cargo-semver-checks --branch main
6465
- name: Verify the API compatibilty with PR base
6566
id: semver-pr-check
6667
run: |

0 commit comments

Comments
 (0)