forked from llnl/llnl.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (28 loc) · 724 Bytes
/
main.yaml
File metadata and controls
32 lines (28 loc) · 724 Bytes
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
name: Code Checks
on: pull_request
defaults:
run:
shell: bash
jobs:
spelling-check:
name: Spelling Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Check spelling
uses: crate-ci/typos@v1.22.7
with:
files: ./_posts ./README.md ./about/faq.md ./about/contributing.md
python-check:
name: Python Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: 'pip'
- name: Install dependencies
run: pip install flake8 black
- run: make test