cargo-binstall/.github/workflows/shellcheck.yml
Jiahao XU 1c886d8897
Fix installation script on MacOS (#1263)
Fixed #1254

and also add CI for installation script and shellcheck.

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-08-09 09:37:26 +00:00

32 lines
572 B
YAML

name: Shellcheck
on:
merge_group:
pull_request:
types:
- opened
- reopened
- synchronize
paths:
- '**.sh'
push:
branches:
- main
paths:
- '**.sh'
concurrency:
group: ${{ github.workflow }}-${{ github.ref || github.event.pull_request.number || github.sha }}
cancel-in-progress: true
jobs:
shellcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: taiki-e/install-action@v2
with:
tool: fd-find
- name: shellcheck
run: fd -e sh -t f -X shellcheck