Skip to content

Commit

Permalink
CI: add nix package build test
Browse files Browse the repository at this point in the history
Co-authored-by: Edouard Choinière <27212526+echoix@users.noreply.github.com>
  • Loading branch information
imincik and echoix committed Jun 20, 2024
1 parent 55b14b1 commit 59025f0
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/test-nix-package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
name: Test Nix package

on:
push:
branches:
- main
pull_request:

concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
cancel-in-progress: true

jobs:
test-package:
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7

- name: Install nix
uses: DeterminateSystems/nix-installer-action@main

- name: Build all packages
run: nix build -L --accept-flake-config .#grass

0 comments on commit 59025f0

Please sign in to comment.