chore: Each platform test run only waits for the CLI to be built for … #1
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
name: Verify dependencies | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
ci-freshness: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Rust | |
uses: actions-rust-lang/[email protected] | |
with: | |
cache-workspaces: "./libs -> ./target" | |
- name: Generate docs.yml | |
run: | | |
cd ci_utils | |
cargo run > docs.yml | |
mv docs.yml ../.github/workflows | |
- name: Fail if anything changed | |
run: | | |
git add . | |
git diff --quiet --exit-code --cache || (echo "Please regenerate the docs.yml CI script" && exit 1) |