Skip to content
This repository was archived by the owner on Oct 29, 2022. It is now read-only.

Commit 4373a5b

Browse files
authored
Merge pull request #77 from kjaymiller/pre-commit-in-ci
Add pre-commit to github actions
2 parents d4bfa16 + 2c351e9 commit 4373a5b

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

.github/PULL_REQUEST_TEMPLATE/publish_show.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ newsletter_date: 2022-09-06T0800+8000
1111
## Conference Announcements
1212
### CFPs
1313
<ISSUES USE \#ISSUE_NUMBERS>
14-
14+
1515
## Conferences
1616
<ISSUES USE \#ISSUE_NUMBERS>

.github/workflows/lint.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Lint
2+
on:
3+
push:
4+
branches:
5+
- main
6+
pull_request:
7+
8+
jobs:
9+
lint-with-pre-commit:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v3
13+
- uses: actions/setup-python@v4
14+
with:
15+
python-version: '3.10'
16+
17+
- name: Install pre-commit
18+
run: pip install pre-commit
19+
20+
- name: Run pre-commit hooks
21+
run: pre-commit run --all-files

0 commit comments

Comments
 (0)