Skip to content

Commit 6ff9462

Browse files
committed
s
1 parent 3bde111 commit 6ff9462

2 files changed

Lines changed: 9 additions & 3 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,10 @@ jobs:
107107

108108
- uses: cachix/install-nix-action@v17
109109
with:
110-
nix_path: nixpkgs=channel:nixos-unstable
110+
nix_path: nixpkgs=channel:nixos-unstable:phps=https://github.com/fossar/nix-phps/archive/master.tar.gz
111+
extra_nix_config: |
112+
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= fossar.cachix.org-1:Zv6FuqIboeHPWQS7ysLCJ7UT7xExb4OE8c4LyGb5AsE=
113+
substituters = https://cache.nixos.org/ https://fossar.cachix.org
111114
112115
- name: Run Unit Tests PHP8.1
113116
run: nix-shell --arg phpVersion \"php81\" --pure --run project-test-unit
@@ -142,7 +145,10 @@ jobs:
142145

143146
- uses: cachix/install-nix-action@v17
144147
with:
145-
nix_path: nixpkgs=channel:nixos-unstable
148+
nix_path: nixpkgs=channel:nixos-unstable:phps=https://github.com/fossar/nix-phps/archive/master.tar.gz
149+
extra_nix_config: |
150+
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= fossar.cachix.org-1:Zv6FuqIboeHPWQS7ysLCJ7UT7xExb4OE8c4LyGb5AsE=
151+
substituters = https://cache.nixos.org/ https://fossar.cachix.org
146152
147153
- name: Run Acceptance Tests PHP8.1
148154
run: nix-shell --arg phpVersion \"php81\" --pure --run project-test-acceptance

shell.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
pkgs ? import <nixpkgs> { }
3-
,php81 ? import (fetchTarball "https://github.com/fossar/nix-phps/archive/master.tar.gz")
3+
,php81 ? import <phps>
44
,php85 ? import (fetchTarball "https://github.com/piotrkwiecinski/nixpkgs/archive/1c614d75004b9eb1ecda6ddeb959c4f544403de5.tar.gz") {}
55
,phpVersion ? "php81"
66
}:

0 commit comments

Comments
 (0)