Skip to content

Bump actions/checkout from 4.1.0 to 4.2.2 #112

Bump actions/checkout from 4.1.0 to 4.2.2

Bump actions/checkout from 4.1.0 to 4.2.2 #112

Workflow file for this run

name: Lint GitHub Actions workflows
on: [push, pull_request, workflow_dispatch]
jobs:
actionlint:
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- name: Download actionlint
id: get_actionlint
run: |
# There is not yet an official action for actionlint.
# Adapt the suggested usage:
# https://github.com/rhysd/actionlint/blob/f1d409537e61/docs/usage.md#use-actionlint-on-github-actions
script_name='download-actionlint.bash'
version='f1d409537e61a3df9206bcdf8c2548e34cb9b16d'
url="https://raw.githubusercontent.com/rhysd/actionlint/${version}/scripts/${script_name}"
curl -sSf "${url}" > "${script_name}"
chmod +x "${script_name}"
./"${script_name}"
shell: bash
- name: Lint workflow files
run: ${{ steps.get_actionlint.outputs.executable }} -color
shell: bash