Merge branch 'master' into chore/remove-freight-role #447
Workflow file for this run
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: push | |
jobs: | |
build: | |
runs-on: "ubuntu-latest" | |
steps: | |
- uses: "actions/[email protected]" | |
- name: "install Nix" | |
uses: "cachix/install-nix-action@v23" | |
- name: "Cache Nix packages" | |
uses: cachix/cachix-action@v10 | |
with: | |
name: svsticky-sadserver | |
authToken: ${{ secrets.CACHIX_SIGNING_KEY }} | |
- name: "Lint our Python files" | |
run: (cd ansible; nix-shell --run "black --check deploy.py plugins/vars/bw_plugin.py scripts/bitwarden.py") | |
- name: "Typecheck our Python files" | |
run: (cd ansible; nix-shell --run "mypy deploy.py --strict") | |
- name: "Lint our ansible files" | |
run: (cd ansible; nix-shell --run "ansible-lint") |