Skip to content

Bump actions/checkout from 4.1.0 to 4.2.0 #107

Bump actions/checkout from 4.1.0 to 4.2.0

Bump actions/checkout from 4.1.0 to 4.2.0 #107

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@d632683dd7b4114ad314bca15554477dd762a938
- 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