Skip to content

chore: Fix CI workflow name and typo in git command #2

chore: Fix CI workflow name and typo in git command

chore: Fix CI workflow name and typo in git command #2

Workflow file for this run

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)