File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -110,6 +110,20 @@ jobs:
110110 env :
111111 RUSTDOCFLAGS : -D warnings
112112
113+ check-version-bump :
114+ name : Check version bump
115+ runs-on : ubuntu-latest
116+ steps :
117+ - uses : actions/checkout@v4
118+ - run : rustup update stable && rustup default stable
119+ - name : Install cargo-semver-checks
120+ run : |
121+ mkdir installed-bins
122+ curl -Lf https://github.com/obi1kenobi/cargo-semver-checks/releases/download/v0.43.0/cargo-semver-checks-x86_64-unknown-linux-gnu.tar.gz \
123+ | tar -xz --directory=./installed-bins
124+ echo `pwd`/installed-bins >> $GITHUB_PATH
125+ - run : cargo semver-checks --workspace
126+
113127 # The success job is here to consolidate the total success/failure state of
114128 # all other jobs. This job is then included in the GitHub branch protection
115129 # rule which prevents merges unless all other jobs are passing. This makes
@@ -125,6 +139,7 @@ jobs:
125139 - gui
126140 - clippy
127141 - docs
142+ - check-version-bump
128143 runs-on : ubuntu-latest
129144 steps :
130145 - run : jq --exit-status 'all(.result == "success")' <<< '${{ toJson(needs) }}'
You can’t perform that action at this time.
0 commit comments