mirror of
https://github.com/k3s-io/k3s-ansible.git
synced 2024-11-16 10:35:16 +01:00
32 lines
536 B
YAML
32 lines
536 B
YAML
---
|
|
name: Lint
|
|
'on':
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
|
|
test:
|
|
name: Lint
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Check out the codebase.
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Set up Python 3.7.
|
|
uses: actions/setup-python@v2
|
|
with:
|
|
python-version: '3.x'
|
|
|
|
- name: Install test dependencies.
|
|
run: pip3 install yamllint ansible-lint
|
|
|
|
- name: Run yamllint.
|
|
run: yamllint .
|
|
|
|
- name: Run ansible-lint.
|
|
run: ansible-lint
|