Skip to content

style: consistency (#55) #5

style: consistency (#55)

style: consistency (#55) #5

Workflow file for this run

name: Lint
on:
push:
branches: [master]
pull_request:
permissions:
contents: read
jobs:
shfmt:
name: shell formatting (shfmt)
runs-on: ubuntu-latest
env:
SHFMT_VERSION: v3.10.0
steps:
- uses: actions/checkout@v4
- name: Install shfmt
run: |
curl -fsSL \
"https://github.com/mvdan/sh/releases/download/${SHFMT_VERSION}/shfmt_${SHFMT_VERSION}_linux_amd64" \
-o /usr/local/bin/shfmt
chmod +x /usr/local/bin/shfmt
shfmt --version
- name: Check formatting
run: shfmt -d .