Skip to content

Commit

Permalink
added workflow lint files
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-gilber committed Oct 26, 2023
1 parent ef90fa8 commit 8f91ca4
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Lint Files

Check warning on line 1 in .github/workflows/lint.yaml

View workflow job for this annotation

GitHub Actions / lint

1:1 [document-start] missing document start "---"

# Events: https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows
on:

Check warning on line 4 in .github/workflows/lint.yaml

View workflow job for this annotation

GitHub Actions / lint

4:1 [truthy] truthy value should be one of [false, true]
push:
workflow_dispatch:

jobs:
lint:
runs-on: ubuntu-latest # GitHub-hosted runners: https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources
steps:
- name: Clone
uses: actions/checkout@v4 # https://github.com/marketplace/actions/checkout
- name: YAML Lint
run: yamllint . # yamllint is pre-installed: https://github.com/actions/runner-images/blob/main/images/linux/Ubuntu2204-Readme.md#tools

Check failure on line 15 in .github/workflows/lint.yaml

View workflow job for this annotation

GitHub Actions / lint

15:146 [new-line-at-end-of-file] no new line character at the end of file

0 comments on commit 8f91ca4

Please sign in to comment.