Skip to content

Commit

Permalink
Add pre-made semver github action
Browse files Browse the repository at this point in the history
Installing cargo-semver-checks manually took >5 minutes
  • Loading branch information
Finomnis committed Feb 7, 2023
1 parent 35be707 commit d5d27bc
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -234,16 +234,23 @@ jobs:
semver:
name: semver
runs-on: ubuntu-latest
strategy:
matrix:
crate:
- tokio
- tokio-macros
- tokio-test
- tokio-stream
- tokio-util
steps:
- uses: actions/checkout@v3
- name: Install Rust ${{ env.rust_stable }}
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ env.rust_stable }}
- name: Install cargo-semver-checks
run: cargo install cargo-semver-checks --locked
- uses: Swatinem/rust-cache@v2
- run: cargo semver-checks check-release
- name: Check semver
uses: obi1kenobi/cargo-semver-checks-action@v1
crate-name: ${{ matrix.crate }}

cross-check:
name: cross-check
Expand Down

0 comments on commit d5d27bc

Please sign in to comment.