diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index af02184..d285b9f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,33 +1,15 @@ on: push: - branches: [ master ] - paths-ignore: - - '**/*.md' - - '.gitignore' - - '.dockerignore' - - '.github/**' - - '.github/workflows/**' + paths: + - '**/*.sh' pull_request: - branches: [ master ] - paths-ignore: - - '**/*.md' - - '.gitignore' - - '.dockerignore' - - '.github/**' - - '.github/workflows/**' + paths: + - '**/*.sh' name: "Test" permissions: {} jobs: - shellcheck: - name: Shellcheck - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - name: Run ShellCheck - uses: ludeeus/action-shellcheck@master - env: - SHELLCHECK_OPTS: -e SC2001 -e SC2002 -e SC2116 -e SC2034 -e SC1091 -e SC2143 -e SC2223 -e SC2086 -e SC2145 -e SC2015 -e SC2268 -e SC2207 -e SC2064 -e SC2162 -e SC2166 - + check: + uses: ./.github/workflows/check.yml