enable experimental flakes
Some checks failed
CI pipeline for ffd-indexer / checks (go test + golangci) (push) Successful in 2m22s
CI pipeline for ffd-indexer / build binaries + containers (push) Successful in 6m16s
CI pipeline for ffd-indexer / format (gofmt + nixfmt) (push) Failing after 1m27s
CI pipeline for ffd-indexer / integration (live scrape + Typesense) (push) Failing after 7m36s
Some checks failed
CI pipeline for ffd-indexer / checks (go test + golangci) (push) Successful in 2m22s
CI pipeline for ffd-indexer / build binaries + containers (push) Successful in 6m16s
CI pipeline for ffd-indexer / format (gofmt + nixfmt) (push) Failing after 1m27s
CI pipeline for ffd-indexer / integration (live scrape + Typesense) (push) Failing after 7m36s
This commit is contained in:
parent
63c6f4b761
commit
48e241d79a
2 changed files with 12 additions and 0 deletions
|
|
@ -11,6 +11,9 @@ jobs:
|
|||
checks:
|
||||
name: checks (go test + golangci)
|
||||
runs-on: debian-stable
|
||||
env:
|
||||
# nixos/nix:latest does not enable flakes/experimental features by default.
|
||||
NIX_CONFIG: experimental-features = nix-command flakes
|
||||
container:
|
||||
image: nixos/nix:latest
|
||||
steps:
|
||||
|
|
@ -29,6 +32,8 @@ jobs:
|
|||
build:
|
||||
name: build binaries + containers
|
||||
runs-on: debian-stable
|
||||
env:
|
||||
NIX_CONFIG: experimental-features = nix-command flakes
|
||||
container:
|
||||
image: nixos/nix:latest
|
||||
steps:
|
||||
|
|
@ -47,6 +52,8 @@ jobs:
|
|||
format:
|
||||
name: format (gofmt + nixfmt)
|
||||
runs-on: debian-stable
|
||||
env:
|
||||
NIX_CONFIG: experimental-features = nix-command flakes
|
||||
container:
|
||||
image: nixos/nix:latest
|
||||
steps:
|
||||
|
|
@ -81,6 +88,8 @@ jobs:
|
|||
integration:
|
||||
name: integration (live scrape + Typesense)
|
||||
runs-on: debian-stable
|
||||
env:
|
||||
NIX_CONFIG: experimental-features = nix-command flakes
|
||||
container:
|
||||
image: nixos/nix:latest
|
||||
services:
|
||||
|
|
|
|||
|
|
@ -13,6 +13,9 @@ jobs:
|
|||
# Forgejo does not auto-expose secrets as env vars; map it explicitly
|
||||
# so the whole step (including the inner heredoc) can read it.
|
||||
REGISTRY_TOKEN: ${{ secrets.REGISTRY_TOKEN }}
|
||||
# nixos/nix:latest does not enable flakes/experimental features by default;
|
||||
# the heredoc steps run `nix build`/`nix develop` and need them.
|
||||
NIX_CONFIG: experimental-features = nix-command flakes
|
||||
container:
|
||||
image: nixos/nix:latest
|
||||
steps:
|
||||
|
|
|
|||
Loading…
Reference in a new issue