Skip to content

Commit

Permalink
ci: Install actionlint (#465)
Browse files Browse the repository at this point in the history
[rhysd/actionlint: Static checker for GitHub Actions workflow files](https://github.com/rhysd/actionlint#ci-services)
  • Loading branch information
peaceiris authored Jul 21, 2021
1 parent c41118e commit 969ddee
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/actionlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Lint Workflows

on:
push:
branches:
- main
paths:
- '.github/workflows/*'
pull_request:
paths:
- '.github/workflows/*'

jobs:
actionlint:
runs-on: ubuntu-20.04
timeout-minutes: 1
steps:
- uses: actions/checkout@v2
- name: Download actionlint
id: get_actionlint
run: bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash)
shell: bash
- name: Check workflow files
run: ${{ steps.get_actionlint.outputs.executable }} -color
shell: bash

0 comments on commit 969ddee

Please sign in to comment.