This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
build(deps): bump actions/setup-go from 4.0.0 to 5.0.0 #445
Workflow file for this run
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: Check pinned workflows | |
on: | |
push: | |
paths: | |
- '.github/workflows/**' | |
jobs: | |
ratchet: | |
runs-on: ubuntu-20.04 | |
strategy: | |
fail-fast: false | |
matrix: | |
asset: [ | |
main.yml, | |
keyless-salsa-integration.yaml, | |
service-account-salsa-integration.yml, | |
golangci-lint.yml, | |
ratchet.yml, | |
codeql-analysis.yml | |
] | |
steps: | |
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab | |
- name: Check if ${{matrix.asset}} is pinned | |
uses: 'docker://ghcr.io/sethvargo/ratchet@sha256:e5b2409be0d1c82c71a6e60c49027e539f4c90636529e4f8b5c25a68b68a36d4' # ratchet:docker://ghcr.io/sethvargo/ratchet:0.3.0 | |
with: | |
args: 'check .github/workflows/${{matrix.asset}}' | |
entrypoint: /ratchet | |
- name: Checks failed | |
if: ${{ failure() }} | |
run: |- | |
echo see "'https://github.com/sethvargo/ratchet'" for more information. | |
echo "'make check workflow=my_workflow.yml'" | |
echo "'make update workflow=my_workflow.yml'" | |
echo "'make pin workflow=my_workflow.yml'" for new workflow file && exit 1 |