Skip to content

Commit

Permalink
[ci] Add lint job and enable yaml linting of GH files.
Browse files Browse the repository at this point in the history
  • Loading branch information
stellaraccident committed Jan 27, 2024
1 parent 28c7051 commit a842ea7
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Lint Checks

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
static_lint_checks:
name: Static Lint Checks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Validate YAML file
run: |
yamllint -f github ./github/workflows/ ./.github/actions/

0 comments on commit a842ea7

Please sign in to comment.