Merge pull request #267 from H1rono/clone-state #343
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: Validation | |
on: | |
push: | |
branches: | |
- "main" | |
pull_request: | |
branches: | |
- "main" | |
jobs: | |
validate-manifest: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install cargo-binstall | |
uses: cargo-bins/cargo-binstall@v1.10.15 | |
- name: Install action-validator | |
run: cargo +stable binstall --no-confirm action-validator | |
- name: Lint Actions | |
run: | | |
for file in .github/workflows/*.yml ; do | |
echo "check $file" | |
action-validator "$file" | |
done | |
- name: Validate codecov.yml | |
run: | | |
curl -f --data-binary @codecov.yml https://codecov.io/validate | |
check-spell: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: streetsidesoftware/cspell-action@v6 | |
with: | |
inline: 'error' | |
incremental_files_only: false |