Skip to content

Commit

Permalink
Add autoformat commit
Browse files Browse the repository at this point in the history
  • Loading branch information
invisibleroads committed May 21, 2024
1 parent 5a83a2f commit 35c67b3
Showing 1 changed file with 18 additions and 17 deletions.
35 changes: 18 additions & 17 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,27 @@
---
name: Validate CSV

on:
push:
branches:
- main
pull_request:

branches:
- main
permissions:
contents: write
jobs:
test-build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Setup Python
uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"

- name: Install dependencies
run: pip install -r linters/requirements.txt

- name: Validate CSV
run: python linters/lint-csv.py

- name: Autoformat CSV
run: python linters/autoformat-csv.py
python-version: "3.12"
- run: pip install -r linters/requirements.txt
- run: python linters/lint-csv.py
- run: python linters/autoformat-csv.py
- run: |
git config --global user.name 'Jon Banafato'
git config --global user.email '[email protected]'
git commit -am "Autoformat CSV"
git push

0 comments on commit 35c67b3

Please sign in to comment.