Skip to content

chore: port Bash scripts to JS #454

chore: port Bash scripts to JS

chore: port Bash scripts to JS #454

Workflow file for this run

name: Check Shell scripts
on:
pull_request:
paths:
- '**/*.sh'
- .github/workflows/shfmt.yml
workflow_dispatch:
permissions:
contents: read
jobs:
shfmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Install shfmt
run: |
sudo apt-get update
sudo apt-get install -y shfmt
- name: Run shfmt
run: shfmt -sr -i 2 -l -w -ci -d .
shellcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Run ShellCheck
uses: bewuethr/shellcheck-action@80bac2daa9fcf95d648200a793d00060857e6dc4 # v2.3.0