File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change 77 tests :
88 strategy :
99 matrix :
10- nixPath :
11- - nixpkgs=https://github.com/NixOS/nixpkgs/archive/refs/heads/nixpkgs -unstable.tar.gz
12- - nixpkgs=https://github.com/NixOS/nixpkgs/archive/refs/heads/ nixos-unstable.tar.gz
13- - nixpkgs=https://github.com/NixOS/nixpkgs/archive/refs/heads/ nixos-24.05.tar.gz
10+ nixRelease :
11+ - nixpkgs-unstable
12+ - nixos-unstable
13+ - nixos-24.05
1414 runs-on : ubuntu-latest
15+ env :
16+ nixPath : " nixpkgs=https://github.com/NixOS/nixpkgs/archive/refs/heads/${{ matrix.nixRelease }}.tar.gz"
1517 steps :
1618 - name : Checkout repository
1719 uses : actions/checkout@v4
1820 - name : Install nix
1921 uses : cachix/install-nix-action@v29
2022 with :
21- nix_path : " ${{ matrix .nixPath }}"
23+ nix_path : " ${{ env .nixPath }}"
2224 extra_nix_config : |
2325 experimental-features = nix-command flakes
2426 access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
2527 - name : Show nixpkgs version
2628 run : nix-instantiate --eval -E '(import <nixpkgs> {}).lib.version'
2729 - name : Run flake checks
2830 run : nix flake check
31+ - name : Build packages using flake
32+ run : nix build
2933 - name : Run standard metapackage test
3034 run : nix run '.#test.meta-standard'
You can’t perform that action at this time.
0 commit comments