Skip to content

bump: nix 2.24 (#476) #444

bump: nix 2.24 (#476)

bump: nix 2.24 (#476) #444

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