Install CLI #3
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: Check Evidence | |
on: | |
- push | |
- pull_request | |
jobs: | |
validate: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Install CLI | |
run: cargo install --git https://github.com/super-collective/collective-cli --locked -q | |
- name: Validate files | |
run: | | |
collective check evidence | |
- name: Check Index Links | |
run: | | |
collective index evidence --reindex | |
git diff --exit-code |