build: Add workflows (#2)

This commit is contained in:
Kroese 2024-01-14 14:32:50 +01:00 committed by GitHub
parent dd29940c8e
commit 3f70a9b7c3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 158 additions and 3 deletions

14
.github/workflows/check.yml vendored Normal file
View file

@ -0,0 +1,14 @@
on: [workflow_call]
name: "Check"
permissions: {}
jobs:
shellcheck:
name: shellcheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run ShellCheck
uses: ludeeus/action-shellcheck@master
env:
SHELLCHECK_OPTS: -x --source-path=src -e SC2001 -e SC2034 -e SC2064 -e SC2317 -e SC2153