Skip to content

Commit

Permalink
test templates needs builds
Browse files Browse the repository at this point in the history
  • Loading branch information
mrshmllow committed Jun 30, 2024
1 parent 5ac6f4b commit f29865c
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 32 deletions.
35 changes: 32 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: "Build"
name: "Test"
on:
pull_request:
push:
jobs:
stable:
build-stable:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -15,7 +15,7 @@ jobs:
name: wires
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: nix build .#stable
nightly:
build-nightly:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -27,3 +27,32 @@ jobs:
name: wires
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: nix build .#nightly
nightly-template:
runs-on: ubuntu-latest
needs: build-nightly
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v27
with:
nix_path: nixpkgs=channel:nixos-unstable
extra_nix_config: |
trusted-public-keys = wires.cachix.org-1:7XQoG91Bh+Aj01mAJi77Ui5AYyM1uEyV0h1wOomqjpk= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
substituters = https://wires.cachix.org https://cache.nixos.org/
- name: Build
working-directory: ./templates/nightly
run: nix build .#neovim --override-input tolerable ../../.
stable-template:
runs-on: ubuntu-latest
needs: build-stable
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v27
with:
nix_path: nixpkgs=channel:nixos-unstable
extra_nix_config: |
trusted-public-keys = wires.cachix.org-1:7XQoG91Bh+Aj01mAJi77Ui5AYyM1uEyV0h1wOomqjpk= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
substituters = https://wires.cachix.org https://cache.nixos.org/
- name: Build
working-directory: ./templates/stable
run: nix build .#neovim --override-input tolerable ../../.

29 changes: 0 additions & 29 deletions .github/workflows/test-templates.yml

This file was deleted.

0 comments on commit f29865c

Please sign in to comment.