Skip to content

Commit

Permalink
Merge pull request #64 from UoaWDCC/Guryash/chore/Linting
Browse files Browse the repository at this point in the history
Add files via upload
  • Loading branch information
gmat224 authored Jun 8, 2024
2 parents d1ca0de + 09627bb commit 13eb259
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/actionlint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: actionlint

on:
push:
branches: [main]
paths: [".github/workflows/**"]
pull_request:
paths: [".github/workflows/**"]
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.event.number || github.sha }}
cancel-in-progress: true

jobs:
format_and_lint:
name: "Lint GitHub Actions workflows"
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- 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 13eb259

Please sign in to comment.