Files
nvim/.gitea/workflows/build-flake.yml
Renovate Bot 94503bdb11
Some checks failed
check-commits / Check commits (pull_request) Failing after 7s
build-flake / build (pull_request) Successful in 4m48s
build-flake / Build flake (push) Successful in 3m11s
build-flake / Release a new version (push) Failing after 7s
chore(deps): update actions/checkout action to v5
2025-10-31 00:06:25 +00:00

32 lines
876 B
YAML

---
name: build-flake
on:
workflow_call:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v5
- name: Setup sudo (required for the next step)
run: apt-get update && apt-get install -y sudo
- name: Setup nix
uses: cachix/install-nix-action@v31
with:
extra_nix_config: |
experimental-features = nix-command flakes
github_access_token: ${{ secrets.GH_ACCESS_TOKEN }}
nix_path: nixpkgs=channel:nixos-25.05
- uses: cachix/cachix-action@v16
with:
name: palkx
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
extraPullNames: nix-community
- name: Build nix flake
run: |
nix build .
- name: Check nix flake
run: nix flake check --all-systems