Skip to content

Commit

Permalink
Updated GHA and added python version matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
amessing-bdai committed Feb 26, 2024
1 parent aeb9ab1 commit 1fde60a
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions .github/workflows/util_pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,25 @@ on:
branches:
- main

concurrency:
group: ${{ github.repository }}-${{ github.workflow }}-${{ github.ref }}-${{ github.ref == 'refs/heads/main' && github.sha || ''}}
cancel-in-progress: true

jobs:
pre-commit:
strategy:
matrix:
config:
- { python: "3.8" }
- { python: "3.9" }
- { python: "3.10" }
name: util_pre-commit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
- uses: pre-commit/[email protected]
- uses: actions/checkout@v4

- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.config.python }}

- uses: pre-commit/[email protected]

0 comments on commit 1fde60a

Please sign in to comment.