Skip to content

build: bump actions/checkout from 3 to 4 #402

build: bump actions/checkout from 3 to 4

build: bump actions/checkout from 3 to 4 #402

Workflow file for this run

name: shell-lint
on:
push:
branches:
- main
pull_request:
jobs:
shellcheck:
name: Run Shellcheck on shellscripts
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- uses: ludeeus/action-shellcheck@2.0.0
shfmt:
name: Check shellscript formatting
needs: shellcheck
env:
SHFMT_VERSION: 3.0.1
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: '1.20'
check-latest: true
- name: Install shfmt
run: go install mvdan.cc/sh/v3/cmd/shfmt@latest
- name: Check .sh files
run: shfmt -d .