Skip to content

Added GitHub Actions templates and tool configuration files #13

Added GitHub Actions templates and tool configuration files

Added GitHub Actions templates and tool configuration files #13

on: pull_request
name: Workflow templates
jobs:
check-yaml:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: |
docker pull mikefarah/yq
for f in $(find github/workflows/ -name '*.yaml'); do
docker run --rm --volume "$PWD":/workdir mikefarah/yq "$f" > /dev/null
done
shellcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: |
docker run --rm --volume "$PWD:/mnt" koalaman/shellcheck:stable task/scripts/*