mirror of
https://github.com/tun2proxy/tun2proxy.git
synced 2025-04-21 06:19:08 +00:00
update Semver checking script
This commit is contained in:
parent
6dadc1504a
commit
02b15951b6
1 changed files with 9 additions and 7 deletions
16
.github/workflows/rust.yml
vendored
16
.github/workflows/rust.yml
vendored
|
@ -45,14 +45,16 @@ jobs:
|
|||
semver:
|
||||
name: Check semver
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [ubuntu-latest, macos-latest, windows-latest]
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: stable
|
||||
override: true
|
||||
- uses: obi1kenobi/cargo-semver-checks-action@v2
|
||||
- uses: actions/checkout@v4
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
- name: Check semver
|
||||
if: ${{ !cancelled() }}
|
||||
uses: obi1kenobi/cargo-semver-checks-action@v2
|
||||
- name: Abort on error
|
||||
if: ${{ failure() }}
|
||||
run: echo "Semver check failed" && false
|
||||
|
|
Loading…
Add table
Reference in a new issue