mirror of
https://github.com/hyprwm/hyprlang.git
synced 2024-12-22 09:59:48 +01:00
CI: init
This commit is contained in:
parent
ff594625a1
commit
046fe8531a
1 changed files with 21 additions and 0 deletions
21
.github/workflows/nix.yml
vendored
Normal file
21
.github/workflows/nix.yml
vendored
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
name: Build & Test
|
||||||
|
|
||||||
|
on: [push, pull_request, workflow_dispatch]
|
||||||
|
jobs:
|
||||||
|
nix:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- uses: DeterminateSystems/nix-installer-action@main
|
||||||
|
- uses: DeterminateSystems/magic-nix-cache-action@main
|
||||||
|
|
||||||
|
# not needed (yet)
|
||||||
|
# - uses: cachix/cachix-action@v12
|
||||||
|
# with:
|
||||||
|
# name: hyprland
|
||||||
|
# authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
||||||
|
|
||||||
|
- name: Build & Test
|
||||||
|
run: nix build --print-build-logs
|
||||||
|
|
Loading…
Reference in a new issue