Skip to content

Commit

Permalink
Enable yamllint syntax checking (#94)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeage authored Apr 10, 2021
1 parent 8ca2f95 commit c579b0b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# yamllint disable rule:line-length
---
name: Builds

on:
on: # yamllint disable-line rule:truthy
pull_request: {}
push:
branches:
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
# yamllint disable rule:line-length
---
name: pre-commit

on:
on: # yamllint disable-line rule:truthy
pull_request:

jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: pre-commit/[email protected]
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: pre-commit/[email protected]
4 changes: 4 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
---
repos:
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.17.0
hooks:
- id: yamllint
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.0.0
hooks:
Expand Down

0 comments on commit c579b0b

Please sign in to comment.