This repository has been archived by the owner on Aug 12, 2024. It is now read-only.
chore(deps): bump semver, @aws-quickstart/eks-blueprints and cdk-assets #42
This file contains 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
name: GitHub Action Lint | |
on: | |
pull_request: | |
permissions: | |
contents: read | |
env: | |
ACTIONLINT_VERSION: "1.6.17" | |
ACTIONLINT_SHA256: "a4641cd9b81e06070936fa017feb1f4f69cec0ceed41f00072e94910beb6bdd7" | |
jobs: | |
actionlint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@03bee3930647ebbf994244c21ddbc0d4933aab4f # 2.3.0 | |
with: | |
egress-policy: block | |
allowed-endpoints: > | |
github.com:443 | |
objects.githubusercontent.com:443 | |
- uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # 3.0.2 | |
- name: Download actionlint | |
run: | | |
curl -s -L -o actionlint.tar.gz "https://github.com/rhysd/actionlint/releases/download/v${ACTIONLINT_VERSION}/actionlint_${ACTIONLINT_VERSION}_linux_amd64.tar.gz" | |
if ! sha256sum actionlint.tar.gz | grep "${ACTIONLINT_SHA256}"; then | |
echo "Checksum verification failed. Please make sure that nobody tampered with the releases of github.com/rhysd/actionlint" | |
echo "Actual checksum: " | |
sha256sum actionlint.tar.gz | |
exit 1 | |
fi | |
tar -ztvf actionlint.tar.gz | |
tar xvzf actionlint.tar.gz actionlint | |
shell: bash | |
- name: Check workflow files | |
run: ./actionlint -color | |
shell: bash |