Update CI to use nix runner
All checks were successful
/ build (push) Successful in 3s

This commit is contained in:
Simon Bruder 2024-07-19 15:47:24 +02:00
parent df4244f6c9
commit a09c08847b
Signed by: simon
GPG key ID: 347FF8699CDA0776

View file

@ -1,18 +1,16 @@
# SPDX-FileCopyrightText: 2024 Simon Bruder <simon@sbruder.de>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
on: [push]
jobs:
build:
runs-on: docker
runs-on: nix
steps:
- name: Set up dependencies
run: |
apt-get update
apt-get -y install sudo
- name: Install Nix
uses: https://github.com/cachix/install-nix-action@v27
- name: Checkout
uses: actions/checkout@v4
- name: Build
run: nix build -L
run: nix build -L .#
- name: Upload
uses: actions/upload-artifact@v3
with: