1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-11-16 18:15:17 +00:00
conky/.github/workflows/nix.yaml

32 lines
680 B
YAML
Raw Normal View History

name: 'Nix build'
on:
push:
branches:
- main
paths-ignore:
- web/**
- doc/**
pull_request:
branches:
- main
paths-ignore:
- web/**
- doc/**
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build-and-check:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
2023-06-26 23:30:22 +00:00
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v4
- name: Setup Nix Cache
uses: DeterminateSystems/magic-nix-cache-action@v1
- run: nix build
- run: nix flake check