Skip to content

feat: add nix-cleanup script and nixfied package #7

feat: add nix-cleanup script and nixfied package

feat: add nix-cleanup script and nixfied package #7

Workflow file for this run

name: Nix Checks
on:
push:
paths:
- 'flake.nix'
- 'flake.lock'
- 'nix-cleanup.sh'
- '.github/workflows/nix-checks.yml'
jobs:
nix_checks:
runs-on: ubuntu-latest
strategy:
fail-fast: false
permissions:
id-token: write
contents: read
pull-requests: read
steps:
- name: Checkout repository
uses: actions/checkout@cd7d8d697e10461458bc61a30d094dc601a8b017 #v4
- uses: cachix/install-nix-action@8887e596b4ee1134dae06b98d573bd674693f47c #v26
with:
nix_path: nixpkgs=channel:nixos-unstable
extra_nix_config: |
sandbox = true # force sandbox for all OS (normally disabled for macOS)
- name: Run app
run: nix run --print-build-logs --show-trace '.#nix-cleanup' -- --help