Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ganeshhubale authored Oct 18, 2024
1 parent 3c88d06 commit a7a7389
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
name: readit
name: Pre-Commit and Cross-Platform Test Suite

on:
push:
pull_request:
types: ["opened", "synchronize", "reopened"]
pull_request:
branches:
- master
types:
- opened
- synchronize
- reopened
schedule:
# Run every Friday at 23:59 UTC
- cron: 59 23 * * 5

- cron: '59 23 * * 5'
workflow_dispatch:

jobs:
pre-commit:
name: Pre-Commit Checks
Expand All @@ -22,7 +27,7 @@ jobs:
python-version: '3.8'
architecture: 'x64'

- name: Pre-Commit Checks
- name: Pre-Commit
run: |
python -m pip install pre-commit
pre-commit run -a
Expand All @@ -38,7 +43,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: [ '3.6', '3.7', '3.8' ]
python-version: [ '3.8', '3.9']
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down

0 comments on commit a7a7389

Please sign in to comment.