Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Kijewski committed Nov 5, 2023
1 parent 202faff commit d9423f8
Showing 1 changed file with 39 additions and 13 deletions.
52 changes: 39 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,19 +88,6 @@ jobs:

- run: cargo test --workspace --all-targets

package:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Setup Rust
uses: ./.github/actions/setup-rust
with:
key: package
toolchain: stable

- run: cargo package --package zipsign

doc:
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -190,3 +177,42 @@ jobs:
zipsign sign zip Cargo.lock.zip priv.key
zipsign verify zip Cargo.lock.zip pub.key
zipsign unsign zip Cargo.lock.zip
semver-checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Setup Rust
uses: ./.github/actions/setup-rust
with:
key: semver-checks
toolchain: stable

- name: Install cargo-semver-checks
uses: taiki-e/install-action@v2
with:
tool: cargo-semver-checks

- run: cargo semver-checks -p zipsign-api --only-explicit-features
- run: cargo semver-checks -p zipsign-api --default-features
- run: cargo semver-checks -p zipsign-api --all-features

public-api:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Setup Rust
uses: ./.github/actions/setup-rust
with:
key: public-api
toolchain: nightly

- name: Install cargo-public-api
uses: taiki-e/install-action@v2
with:
tool: cargo-public-api

- run: cargo public-api -p zipsign-api
- run: cargo public-api -p zipsign-api diff

0 comments on commit d9423f8

Please sign in to comment.