Skip to content

Commit 5e54a30

Browse files
authored
Merge pull request #69 from kraken-tech/meshy/actionlint
Add `actionlint` to pre-commit config
2 parents 1b088be + 253faee commit 5e54a30

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/build_and_publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
cache: 'pip'
3535
- run: python -m pip install .
3636
- id: package_version
37-
run: echo "version=$(python -c "from importlib.metadata import version; print(version('django-subatomic'))")" >> $GITHUB_OUTPUT
37+
run: echo "version=$(python -c "from importlib.metadata import version; print(version('django-subatomic'))")" >> "$GITHUB_OUTPUT"
3838
- name: check package version matches tag
3939
run: |
4040
[ "v${{ steps.package_version.outputs.version }}" = "${{ github.ref_name }}" ]

.pre-commit-config.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ repos:
3232
rev: v9.1.5
3333
hooks:
3434
- id: oxipng
35+
- repo: https://github.com/rhysd/actionlint
36+
rev: v1.7.7
37+
hooks:
38+
- id: actionlint
3539

3640
ci:
3741
autofix_prs: false

0 commit comments

Comments
 (0)