Update lint.yml
This commit is contained in:
parent
9855de2c2f
commit
93df1b7b0f
20
.github/workflows/lint.yml
vendored
20
.github/workflows/lint.yml
vendored
@ -7,17 +7,21 @@ on:
|
|||||||
branches: [main]
|
branches: [main]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
yaml-lint:
|
run-lint:
|
||||||
name: Lint
|
name: Lint
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Check out the codebase.
|
- name: Check out the codebase.
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: Set up Python 3.7.
|
|
||||||
uses: actions/setup-python@v2
|
|
||||||
with:
|
with:
|
||||||
python-version: '3.x'
|
# Full git history is needed to get a proper list of changed files within `super-linter`
|
||||||
- name: Install test dependencies.
|
fetch-depth: 0
|
||||||
run: pip3 install yamllint
|
|
||||||
- name: Run yamllint.
|
- name: Lint Code Base
|
||||||
run: yamllint .
|
uses: github/super-linter@v4
|
||||||
|
env:
|
||||||
|
VALIDATE_ALL_CODEBASE: false
|
||||||
|
DEFAULT_BRANCH: main
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
Loading…
Reference in New Issue
Block a user