This repository has been archived by the owner on Jan 23, 2024. It is now read-only.
Lint #788
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Lint | |
on: | |
pull_request: | |
push: | |
branches: [main] | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4.1.1 | |
- name: "Install Nix ❄️" | |
uses: cachix/install-nix-action@7ac1ec25491415c381d9b62f0657c7a028df52a7 # v24 | |
- name: "Lint ANSIBLE files" | |
run: nix develop -c task linter:ansible | |
- name: "Lint YAML files" | |
run: nix develop -c task linter:yaml |