Skip to content

Commit

Permalink
ci: add linting workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
thalesmg committed Oct 19, 2023
1 parent b0b69b4 commit e42f4a1
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Lint

on:
pull_request:

jobs:
sanity-checks:
runs-on: ubuntu-latest
steps:
- name: Check workflow files
env:
ACTIONLINT_VSN: 1.6.25
run: |
wget https://github.com/rhysd/actionlint/releases/download/v${ACTIONLINT_VSN}/actionlint_${ACTIONLINT_VSN}_linux_amd64.tar.gz
tar zxf actionlint_${ACTIONLINT_VSN}_linux_amd64.tar.gz actionlint
# TODO: enable shellcheck when all the current issues are fixed
./actionlint -color \
-shellcheck=

0 comments on commit e42f4a1

Please sign in to comment.