Skip to content

Update flake.lock once a month instead of once a week. #59

Update flake.lock once a month instead of once a week.

Update flake.lock once a month instead of once a week. #59

Workflow file for this run

name: nix
on: [pull_request, push]
jobs:
nix-flake:
name: Nix packaging (flake)
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Nix
uses: cachix/install-nix-action@v17
- name: Flake check
run: nix flake check --no-update-lock-file --show-trace --verbose
- name: Flake build
run: nix build --no-update-lock-file --show-trace --verbose --print-build-logs
nix-legacy:
name: Nix packaging (legacy)
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
# flake-compat doesn't support shallow repo.
with:
fetch-depth: 0
- name: Install Nix
uses: cachix/install-nix-action@v17
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
- name: Nix build
run: nix-build