Skip to content

Updates Nix action #135

Updates Nix action

Updates Nix action #135

Workflow file for this run

name: Nix
on:
push:
branches:
- master
paths:
- 'flake.nix'
- 'flake.lock'
- 'src/**'
- 'Cargo.toml'
- 'Cargo.lock'
- '.github/workflows/nix.yml'
pull_request:
branches:
- master
paths:
- 'flake.nix'
- 'flake.lock'
- 'src/**'
- 'Cargo.toml'
- 'Cargo.lock'
- '.github/workflows/nix.yml'
jobs:
build:
permissions:
id-token: write
contents: read
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout flake
uses: actions/checkout@v4
- name: Install nix
uses: DeterminateSystems/nix-installer-action@v8
- name: Setup FlakeHub Cache
uses: DeterminateSystems/flakehub-cache-action@main
- name: Build screenly-cli
run: nix build .#screenly-cli