dotfiles/.github/workflows/ci.yml
Fabian Hauser 84c10ab42b
Some checks failed
CI / build (push) Failing after 41s
Remove CI TOKEN
2025-01-16 14:00:14 +02:00

34 lines
716 B
YAML

name: CI
on:
push:
#env:
# ATTIC_AUTH_TOKEN: ${{ secrets.ATTIC_AUTH_TOKEN }}
jobs:
build:
runs-on: nix
steps:
- name: Initialize CI
uses: https://git.qo.is/qo.is/actions-nix-init@main
with:
lfs: false
#- name: Add submodules to nix store to circumvent another nix bug
# run: |
# git clone https://git.qo.is/qo.is/infrastructure-private.git /tmp/private
# cd /tmp/private
# nix flake prefetch
#- name: Use attic cache
# run: nix run .#cache use
- name: Build
run: |
nix build --max-jobs 12 --cores 12
#nix run .#cache push
- name: Run Checks
run: nix flake check