Update test.yml

This commit is contained in:
Kroese 2023-04-19 01:37:16 +02:00 committed by GitHub
parent 2a9c54f52d
commit 7896fc89ef

View file

@ -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