Skip to content

Merge branch 'master' into chore/remove-freight-role #447

Merge branch 'master' into chore/remove-freight-role

Merge branch 'master' into chore/remove-freight-role #447

Workflow file for this run

---
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")