Skip to content

Commit

Permalink
Add actionlint to precommit, and set python-version in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
corneliusroemer committed Sep 24, 2023
1 parent 7146f6e commit 39c1def
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/lineage_notes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ jobs:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Install packages
run: pip install pandas
- name: Analyze lineage notes file
Expand Down
7 changes: 7 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,10 @@ repos:
entry: python tests/test_duplicate_lineage_in_notes.py
language: python
files: lineage_notes.txt
- id: actionlint
name: Lint GitHub Actions workflow files
description: Runs actionlint to lint GitHub Actions workflow files
language: docker_image
types: ["yaml"]
files: ^\.github/workflows/
entry: rhysd/actionlint:1.6.26

0 comments on commit 39c1def

Please sign in to comment.