Merge pull request #7 from jwillikers/fix-mop2 #21
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: yamllint | |
"on": | |
pull_request: | |
branches: ["main"] | |
paths: | |
- '**.nix' | |
- '**.yaml' | |
- '**.yml' | |
- .github/workflows/yamllint.yaml | |
- .yamllint.yaml | |
- flake.lock | |
push: | |
branches: ["main"] | |
paths: | |
- '**.nix' | |
- '**.yaml' | |
- '**.yml' | |
- .github/workflows/yamllint.yaml | |
- .yamllint.yaml | |
- flake.lock | |
jobs: | |
yamllint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: DeterminateSystems/nix-installer-action@v16 | |
- uses: DeterminateSystems/magic-nix-cache-action@v8 | |
- name: Check YAML files | |
run: nix develop --command yamllint --format github . |