fix: Avoid processing the same nodes multiple times in order to avoid duplicated transient nodes. #85
Workflow file for this run
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: CI freshness | |
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 --cached || (echo "Please regenerate the docs.yml CI script" && exit 1) |