Skip to content

feat(e2e): provenance registry option for container generator #5102

feat(e2e): provenance registry option for container generator

feat(e2e): provenance registry option for container generator #5102

name: shellcheck
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
# Needed to check out the repo.
contents: read
jobs:
shellcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- env:
SHELLCHECK_VERSION: "0.8.0"
run: |
set -euo pipefail
# Install shellcheck
wget -qO- "https://github.com/koalaman/shellcheck/releases/download/v${SHELLCHECK_VERSION}/shellcheck-v${SHELLCHECK_VERSION}.linux.x86_64.tar.xz" | tar -xJf -
mv "shellcheck-v$SHELLCHECK_VERSION/shellcheck" /usr/local/bin
# Run shellcheck and output github actions commands.
# See: https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions
make shellcheck