-
Notifications
You must be signed in to change notification settings - Fork 30
41 lines (37 loc) · 1.03 KB
/
lint.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
38
39
40
41
name: Lint
on:
push:
branches: [stable, develop]
pull_request:
branches: [stable, develop]
workflow_dispatch:
jobs:
lint:
name: pre-commit
runs-on: ubuntu-latest
if: github.repository == 'noaa-oar-arl/monetio'
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: "3.9"
- uses: pre-commit/[email protected]
cff:
name: Validate CITATION.cff
runs-on: ubuntu-latest
if: github.repository == 'noaa-oar-arl/monetio'
steps:
- uses: actions/checkout@v4
- uses: citation-file-format/[email protected]
with:
args: "--validate"
spell:
name: codespell
runs-on: ubuntu-latest
if: github.repository == 'noaa-oar-arl/monetio'
steps:
- uses: actions/checkout@v4
- uses: codespell-project/actions-codespell@v2
with:
exclude_file: .codespell-exclude
skip: "./monetio/data/aqs_qualifiers.csv,./monetio/data/cemsinfo.csv,./monetio/data/stations.tsv"