[Reconfigurator] Blippy (#7276) #9978
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow file serves as an example for cargo-hakari CI integration. | |
on: | |
push: | |
branches: | |
- main | |
- 'rel/**' | |
pull_request: {} | |
name: cargo hakari | |
jobs: | |
workspace-hack-check: | |
name: Check workspace-hack | |
runs-on: ubuntu-latest | |
env: | |
RUSTFLAGS: -D warnings | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} # see omicron#4461 | |
- name: Install cargo-hakari | |
env: | |
version: 0.9.33 | |
run: curl -L "https://github.com/guppy-rs/guppy/releases/download/cargo-hakari-$version/cargo-hakari-$version-x86_64-unknown-linux-gnu.tar.gz" | tar -xzC ~/.cargo/bin | |
- name: Check workspace-hack Cargo.toml is up-to-date | |
run: cargo hakari generate --diff | |
- name: Check all crates depend on workspace-hack | |
run: cargo hakari manage-deps --dry-run |