Skip to content

Bump actions/download-artifact from 2 to 4.1.7 in /.github/workflows #377

Bump actions/download-artifact from 2 to 4.1.7 in /.github/workflows

Bump actions/download-artifact from 2 to 4.1.7 in /.github/workflows #377

name: Shell Linting
on:
push:
branches:
- main
paths:
- '**.sh'
- '**.yaml'
pull_request:
branches:
- main
paths:
- '**.sh'
- '**.yaml'
jobs:
ShellCheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install shellcheck
run: sudo apt-get install -y shellcheck
- name: Do shellcheck
run: shellcheck $(find . -name '*.sh')
ShellFormat:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install shfmt
run: curl -sSL https://github.com/mvdan/sh/releases/download/v3.2.2/shfmt_v3.2.2_linux_amd64
-o ~/shfmt && chmod +x ~/shfmt
- name: Do shfmt
run: |
~/shfmt -w -i 4 .
git diff --exit-code