1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-11-16 10:05:22 +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@v4
2023-06-26 23:30:22 +00:00
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v9
2023-06-26 23:30:22 +00:00
- name: Setup Nix Cache
uses: DeterminateSystems/magic-nix-cache-action@v3
- run: nix build
- run: nix flake check