Skip to content

Switch from duplicity to restic for backups #460

Switch from duplicity to restic for backups

Switch from duplicity to restic for backups #460

Workflow file for this run

name: Run tests
on: pull_request
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v25
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: Lint
run: |
set -ex
nix flake check
nix run .#fmt
nix run .#lint
git diff --exit-code
- name: Check mdbook-admonish changes are not committed
run: |
if grep -q "do not edit: managed by \`mdbook-admonish install\`" docs/book.toml; then
echo "remove generated mdbook-admonish lines from docs/books.toml" >&2
exit 1
fi
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v25
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: Check documentation site builds
run: nix run .#documentation