5 Commits

Author SHA1 Message Date
d8d767b117 Merge pull request 'add a nix-flake runner' (#1) from pjjw/nix-flake-runner into master
Some checks failed
Nix / build (nixos-23.05) (push) Failing after 6m13s
Nix / build (nixos-unstable) (push) Failing after 6m13s
Nix / build (nixos-22.11) (push) Failing after 4m58s
Reviewed-on: #1
2023-09-09 21:04:42 -04:00
09896ba4d9 Merge branch 'master' into pjjw/nix-flake-runner
All checks were successful
Nix / build (nixos-22.11) (pull_request) Successful in 24m52s
Nix / build (nixos-unstable) (pull_request) Successful in 15m51s
Nix / build (nixos-23.05) (pull_request) Successful in 18m43s
2023-09-08 12:24:40 -04:00
1cc157b032 Merge pull request 'cachix action failing for unknown reasons, patch to use local runner' (#2) from pjjw/gitea-actions into master
Some checks failed
Nix / build (nixos-unstable) (push) Failing after 21m13s
Nix / build (nixos-22.11) (push) Failing after 23m58s
Nix / build (nixos-23.05) (push) Failing after 24m32s
Reviewed-on: #2
2023-09-08 12:24:27 -04:00
617b5494c1 cachix action failing for unknown reasons, patch to use local runner
All checks were successful
Nix / build (nixos-22.11) (pull_request) Successful in 23m0s
Nix / build (nixos-unstable) (pull_request) Successful in 15m41s
Nix / build (nixos-23.05) (pull_request) Successful in 18m47s
2023-09-07 16:06:59 -04:00
183980b7bb add a nix-flake runner
Some checks failed
Nix / build (nixos-22.11) (pull_request) Failing after 18s
Nix / build (nixos-23.05) (pull_request) Failing after 26s
Nix / build (nixos-unstable) (pull_request) Failing after 26s
2023-09-07 15:44:37 -04:00
2 changed files with 13 additions and 2 deletions

View File

@@ -18,11 +18,12 @@ jobs:
- nixos-unstable
- nixos-22.11
- nixos-23.05
runs-on: ubuntu-latest
runs-on: native
container: pjjw/nix-flake-runner:1
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v22
- run: nix-shell --run ./ci.sh
env:
CI_PROJECT_PATH: pjjw
CI_REGISTRY_AUTH: '${{ secrets.REGISTRY_AUTH }}'
NIXPKGS_CHANNEL: '${{ matrix.channel }}'

View File

@@ -0,0 +1,10 @@
{ docker-nixpkgs
, nodejs
, extraContents ? [ ]
}:
docker-nixpkgs.nix-flakes.override {
extraContents = [
# nodejs for runner
nodejs
] ++ extraContents;
}