ci: nix based image
All checks were successful
Flake checks / Check (push) Successful in 16m28s

This commit is contained in:
teutat3s 2023-11-09 04:19:26 +01:00
parent dbc99864df
commit c66846d148
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -3,20 +3,15 @@ on: [push]
jobs:
Check:
runs-on: ubuntu-latest
env:
USER: root
runs-on: nix-flakes
steps:
- name: Check out repository code
uses: https://code.forgejo.org/actions/checkout@v4
- name: Install sudo
run: "apt update && apt install -y sudo"
- name: Install nix
uses: https://github.com/cachix/install-nix-action@v23
- name: Prepare cachix
uses: https://github.com/cachix/cachix-action@v12
with:
name: pub-solar
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- name: Run flake checks
run: |
nix --print-build-logs --verbose --accept-flake-config flake check