Skip to content

fix: update ShellCheck to use -x flag and exclude SC1091 #4

fix: update ShellCheck to use -x flag and exclude SC1091

fix: update ShellCheck to use -x flag and exclude SC1091 #4

Workflow file for this run

# SPDX-License-Identifier: AGPL-3.0-or-later
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
permissions: read-all
jobs:
shellcheck:
name: ShellCheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Run ShellCheck
run: |
shellcheck --version
shellcheck -x -e SC1091 bin/* lib/*.bash
test:
name: Test Plugin
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Install asdf
uses: asdf-vm/actions/setup@05e0d2ed97b598bfce82fd30daf324ae0c4570e6 # v3.0.2
- name: Test plugin
run: |
asdf plugin test rescript . --asdf-tool-version latest --asdf-plugin-gitref ${{ github.sha }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}