Skip to content

Commit

Permalink
more fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jsstevenson committed Nov 5, 2024
1 parent f52276a commit 03d70d8
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,20 +26,20 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
hook:
- name: "Check EOF format"
args: "end-of-file-fixer --all-files"
- name: "Check trailing whitespace"
args: "trailing-whitespace --all-files"
- name: "Check line ending format"
args: "mixed-line-ending --fix=lf --all-files"
- cmd: "end-of-file-fixer"
- cmd: "trailing-whitespace"
- cmd: "mixed-line-ending"
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: 3.12

- name: ${{ matrix.hook.name }}
uses: pre-commit/action@v3.0.1
- uses: pre-commit/action@v3.0.1
with:
extra_args: ${{ matrix.hook.args }}
extra_args: ${{ matrix.cmd }} --all-files
lint:
name: lint
runs-on: ubuntu-latest
Expand Down

0 comments on commit 03d70d8

Please sign in to comment.