Skip to content

Commit 6f50781

Browse files
committed
Add linting workflow
1 parent 8361596 commit 6f50781

2 files changed

Lines changed: 25 additions & 1 deletion

File tree

.github/workflows/lint.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Lint
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
workflow_dispatch:
9+
10+
jobs:
11+
test:
12+
runs-on: ubuntu-latest
13+
strategy:
14+
fail-fast: true
15+
steps:
16+
- uses: actions/checkout@v4
17+
- uses: actions/setup-python@v5
18+
with:
19+
python-version: 3.x
20+
- uses: pre-commit/action@v3.0.1
21+
- uses: pre-commit-ci/lite-action@v1.1.0
22+
if: always()
23+
with:
24+
msg: Apply code formatting with pre-commit

.github/workflows/publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ name: Release Package
66

77
on:
88
schedule:
9-
- cron: '0 0 * * *'
9+
- cron: 0 0 * * *
1010
workflow_dispatch:
1111

1212
jobs:

0 commit comments

Comments
 (0)