Skip to content

Commit ecf0c3a

Browse files
committed
Add an air GHA now that I've completed The Great Reformatting
This should help to maintain consistent formatting going forward.
1 parent 6c6744b commit ecf0c3a

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/format-check.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Workflow derived from https://github.com/posit-dev/air-action/tree/main/examples
2+
on:
3+
push:
4+
branches: [main, master]
5+
pull_request:
6+
7+
name: format-check.yaml
8+
9+
permissions: read-all
10+
11+
jobs:
12+
format-check:
13+
name: format-check
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v4
17+
18+
- name: Format check
19+
uses: posit-dev/air-action@v1
20+
with:
21+
args: format . --check

0 commit comments

Comments
 (0)