Skip to content

CI(deps): Update DeterminateSystems/nix-installer-action action to v15 #76

CI(deps): Update DeterminateSystems/nix-installer-action action to v15

CI(deps): Update DeterminateSystems/nix-installer-action action to v15 #76

Workflow file for this run

---
name: Nix package and environment
on:
schedule:
- cron: '0 1 * * 1'
push:
tags:
- '*'
pull_request:
paths:
- 'flake.nix'
- 'flake.lock'
- 'package.nix'
- '.github/workflows/test-nix.yml'
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
cancel-in-progress: true
permissions: {}
jobs:
test-nix:
runs-on: ubuntu-22.04
permissions:
contents: read
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Install nix
uses: DeterminateSystems/nix-installer-action@b92f66560d6f97d6576405a7bae901ab57e72b6a # v15
- name: Setup cachix
uses: cachix/cachix-action@ad2ddac53f961de1989924296a1f236fcfbaa4fc # v15
with:
name: osgeo-grass
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- name: Build package
run: nix build -L --accept-flake-config .#grass
- name: Test development environment
run: nix develop --accept-flake-config --command echo OK