File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,19 +24,17 @@ jobs:
2424 with :
2525 persist-credentials : false
2626 fetch-depth : 0
27-
28- - uses : mozilla/actions/rust@25cb84d060946c0ad6d2c3f79da479b16d180d71 # v1.1.0
29- with :
30- tools : cargo-semver-checks
31- token : ${{ github.token }}
27+
28+ - name : Get latest tags
29+ id : tag
30+ run : |
31+ echo "commit=$(git rev-list --tags --max-count=1)" >> "$GITHUB_OUTPUT"
3232
3333 - uses : mozilla/actions/nss@25cb84d060946c0ad6d2c3f79da479b16d180d71 # v1.1.0
3434 with :
3535 version-file : min_version.txt
3636 token : ${{ secrets.GITHUB_TOKEN }}
3737
38- - name : Check semver
39- run : |
40- LATEST_TAG_COMMIT=$(git rev-list --tags --max-count=1)
41- # shellcheck disable=SC2086
42- cargo semver-checks --default-features --baseline-rev "$LATEST_TAG_COMMIT"
38+ - uses : mozilla/actions/semver@44afdbc1da082e73e6cff54127828583dc23ce12
39+ with :
40+ base-ref : ${{ steps.tag.outputs.commit }}
You can’t perform that action at this time.
0 commit comments