Skip to content

[cargo-hakari] don't require a version with workspace-dotted #7

[cargo-hakari] don't require a version with workspace-dotted

[cargo-hakari] don't require a version with workspace-dotted #7

Workflow file for this run

# This workflow file serves as an example for cargo-hakari CI integration.
on:
push:
branches:
- main
pull_request:
branches:
- main
name: cargo hakari
jobs:
workspace-hack-check:
name: Check workspace-hack
runs-on: ubuntu-latest
env:
RUSTFLAGS: -D warnings
steps:
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4
- uses: dtolnay/rust-toolchain@stable
- name: Install cargo-hakari
uses: taiki-e/install-action@2f990e9c484f0590cb76a07296e9677b417493e9 # v2
with:
tool: cargo-hakari
- 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