Skip to content

Commit

Permalink
feat: lint GitHub Actions workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
l0b0 committed Nov 8, 2023
1 parent 0a3c98a commit 2a5dfd9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/actionlint.dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
FROM rhysd/actionlint:1.6.26@sha256:2362769b1d75056da70e7af1b12d9e52746f3a123b8f22a4322869e8f2cd45f2
5 changes: 5 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ jobs:
- name: format
run: npm run format -- --fix=false # ensure eslint is not configured to --fix

- name: Download actionlint
run: docker build --tag actionlint - < .github/workflows/actionlint.dockerfile

- name: Run actionlint to check workflow files
run: docker run --volume="${PWD}:/repo" --workdir=/repo actionlint -color

# Configure access to AWS / EKS
- name: Setup kubectl
Expand Down

0 comments on commit 2a5dfd9

Please sign in to comment.