Skip to content

Commit 1bef026

Browse files
Merge pull request #2102 from VWS-Python/actionlint
Lint GitHub Actions workflows using actionlint
2 parents 11ff2df + 51a1a30 commit 1bef026

File tree

4 files changed

+7
-1
lines changed

4 files changed

+7
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676
run: |
7777
# Checkout the latest tag - the one we just created.
7878
git fetch --tags
79-
git checkout $(git describe --tags $(git rev-list --tags --max-count=1))
79+
git checkout "$(git describe --tags "$(git rev-list --tags --max-count=1)")"
8080
python -m pip install build
8181
python -m build --sdist --wheel --outdir dist/ .
8282

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ SPHINXOPTS := -W
77

88
.PHONY: lint
99
lint: \
10+
actionlint \
1011
check-manifest \
1112
doc8 \
1213
linkcheck \

lint.mk

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
SHELL := /bin/bash -euxo pipefail
44

5+
.PHONY: actionlint
6+
actionlint:
7+
actionlint
8+
59
.PHONY: mypy
610
mypy:
711
mypy .

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,7 @@ dependencies = [
224224
]
225225
[project.optional-dependencies]
226226
dev = [
227+
"actionlint-py==1.6.26.11",
227228
"check-manifest==0.49",
228229
"doc8==1.1.1",
229230
"dodgy==0.2.1",

0 commit comments

Comments
 (0)