Skip to content

build: bump docker/metadata-action from 4.6.0 to 5.0.0 (#161) #409

build: bump docker/metadata-action from 4.6.0 to 5.0.0 (#161)

build: bump docker/metadata-action from 4.6.0 to 5.0.0 (#161) #409

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/[email protected]
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 .