Skip to content

Bump softprops/action-gh-release from 2.4.2 to 3.0.3 #68

Bump softprops/action-gh-release from 2.4.2 to 3.0.3

Bump softprops/action-gh-release from 2.4.2 to 3.0.3 #68

Workflow file for this run

name: Actionlint
on:
pull_request:
branches: [main]
paths:
- ".github/workflows/**"
- ".github/actions/**"
push:
branches: [main]
paths:
- ".github/workflows/**"
- ".github/actions/**"
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref_name || github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
actionlint:
name: Validate GitHub Actions workflows
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@05e31511f85b41b11d1cf0ef85d0992719546e2c # v2.21.0
with:
egress-policy: audit
- name: Checkout repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Set up Go
uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
with:
go-version: stable
cache: false
- name: Install actionlint
run: go install github.com/rhysd/actionlint/cmd/actionlint@latest
- name: Run actionlint
run: |
find .github/workflows -maxdepth 1 -type f \( -name "*.yml" -o -name "*.yaml" \) -print0 | xargs -0 actionlint -color