Skip to content

inputs: track nixpkgs-unstable #21

inputs: track nixpkgs-unstable

inputs: track nixpkgs-unstable #21

Workflow file for this run

name: Check outputs
on:
pull_request: {} # run on pull requests
# Runs on pushes targeting the default branch
push:
branches: ["master"]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "checks"
cancel-in-progress: false
jobs:
build-package:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: Build goatcounter package
run: nix build --show-trace --print-build-logs .#goatcounter
build-example:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: Build example container
run: nix --show-trace --print-build-logs build "$(nix eval --raw .#templates.container.path)#nixosConfigurations.container.config.system.build.toplevel"