Skip to content

Canary: do I work against latest nixpkgs? #8

Canary: do I work against latest nixpkgs?

Canary: do I work against latest nixpkgs? #8

Workflow file for this run

name: "Canary: do I work against latest nixpkgs?"
on:
schedule:
# every sunday morning
- cron: "0 0 * * 0"
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, macos-latest ]
fail-fast: false
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # no shallow
- uses: cachix/install-nix-action@v22
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
extra_nix_config: |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- name: traditional nix-build succeeds
run: nix-build
- name: update the lockfile
run: nix flake update
- name: flake builds + tests
run: nix flake check --print-build-logs --keep-going