Files
k3s-ansible/.github/workflows/lint.yml
Chris Wayne 4acc4c718b Pin GH Actions to commit sha
Signed-off-by: Chris Wayne <cwayne18@gmail.com>
2026-03-27 09:21:19 -04:00

32 lines
632 B
YAML

---
name: Lint
'on':
pull_request:
push:
branches:
- main
jobs:
test:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Check out the codebase.
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
- name: Set up Python 3.13.
uses: actions/setup-python@7f4fc3e22c37d6ff65e88745f38bd3157c663f7c # v4
with:
python-version: '3.13.x'
- name: Install test dependencies.
run: pip3 install yamllint ansible-lint ansible
- name: Run yamllint.
run: yamllint .
- name: Run ansible-lint.
run: ansible-lint