Skip to content

Commit

Permalink
Merge pull request #180 from jbampton/use-certified-action
Browse files Browse the repository at this point in the history
refactor: use certified GitHub Action to increase security
  • Loading branch information
matz authored Feb 13, 2021
2 parents 46b53e1 + 617fb28 commit 14c9943
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '3.x' # Version range or exact version of a Python version to use, using SemVer's version range syntax
architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install yamllint
- name: 🧹 YAML Lint
uses: ibiqlik/action-yamllint@v3
run: |
# return non-zero exit code on warnings
yamllint --strict .
1 change: 1 addition & 0 deletions .yamllint
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ extends: default

rules:
document-start: false
line-length: false
truthy: false

0 comments on commit 14c9943

Please sign in to comment.