Skip to content

Commit

Permalink
Add actions to run shellcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
yankeexe committed Jan 23, 2022
1 parent ab52fe6 commit c67c8c2
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
on:
push:
branches:
- master
pull_request:
branches:
- master

name: "Shellcheck"
env:
VERSION: v0.8.0

jobs:
shellcheck:
name: Shellcheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install shellcheck
run: |
wget -q https://github.com/koalaman/shellcheck/releases/download/$VERSION/shellcheck-$VERSION.linux.x86_64.tar.xz \
-O shellcheck.tar.xz
tar -xf shellcheck.tar.xz
mv shellcheck-$VERSION/shellcheck .
rm -rf shellcheck.tar.xz shellcheck-$VERSION
- name: Run Shellcheck
run: |
./shellcheck --version
./shellcheck -e SC2148 wt completions/*

0 comments on commit c67c8c2

Please sign in to comment.