Skip to content

Commit

Permalink
Fix python-version matrix values + Remove typecheck.yml
Browse files Browse the repository at this point in the history
- `python-version` matrix values should be strings.
- Renamed `formatting.yml` to `pre-commit-checks.yml` since we are not
  just doing formatting checks now, but running multiple rules.
- Removed `typecheck.yml` since now we execute pyright checks using
  pre-commit, so already covered by the pre-commit workflow.
  • Loading branch information
corafid committed Dec 4, 2024
1 parent 4716c4e commit a0e9fde
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 45 deletions.
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
name: Formatting
name: Pre-commit Checks

on:
pull_request: {}
workflow_dispatch: {}

jobs:
build:
name: Formatting
name: Run pre-commit checks
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- 3.10
- 3.11
- 3.12
- 3.13
- "3.9"
- "3.10"
- "3.11"
- "3.12"
- "3.13"

steps:
- uses: actions/checkout@v4
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,11 @@ jobs:
strategy:
matrix:
python-version:
- 3.10
- 3.11
- 3.12
- 3.13
- "3.9"
- "3.10"
- "3.11"
- "3.12"
- "3.13"

steps:
- uses: actions/checkout@v4
Expand Down
35 changes: 0 additions & 35 deletions .github/workflows/typecheck.yml

This file was deleted.

0 comments on commit a0e9fde

Please sign in to comment.