Added GitHub Actions templates and tool configuration files #13
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/* |