-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (35 loc) · 934 Bytes
/
validate.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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