Skip to content

Commit a7a7389

Browse files
authored
Update main.yml
1 parent 3c88d06 commit a7a7389

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

.github/workflows/main.yml

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,18 @@
1-
name: readit
1+
name: Pre-Commit and Cross-Platform Test Suite
22

33
on:
4-
push:
5-
pull_request:
6-
types: ["opened", "synchronize", "reopened"]
4+
pull_request:
5+
branches:
6+
- master
7+
types:
8+
- opened
9+
- synchronize
10+
- reopened
711
schedule:
812
# Run every Friday at 23:59 UTC
9-
- cron: 59 23 * * 5
10-
13+
- cron: '59 23 * * 5'
14+
workflow_dispatch:
15+
1116
jobs:
1217
pre-commit:
1318
name: Pre-Commit Checks
@@ -22,7 +27,7 @@ jobs:
2227
python-version: '3.8'
2328
architecture: 'x64'
2429

25-
- name: Pre-Commit Checks
30+
- name: Pre-Commit
2631
run: |
2732
python -m pip install pre-commit
2833
pre-commit run -a
@@ -38,7 +43,7 @@ jobs:
3843
strategy:
3944
matrix:
4045
os: [ubuntu-latest, windows-latest, macos-latest]
41-
python-version: [ '3.6', '3.7', '3.8' ]
46+
python-version: [ '3.8', '3.9']
4247
steps:
4348
- name: Checkout
4449
uses: actions/checkout@v2

0 commit comments

Comments
 (0)