Skip to content

Commit

Permalink
Add test templates workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mrshmllow committed Jun 30, 2024
1 parent 0726544 commit 6e9bfc3
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/test-templates.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: "Test Templates"
on:
pull_request:
push:
jobs:
nightly:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v27
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: Setup Directory
working-directory: ./nightly
run: nix flake init -t github:mrshmllow/tolerable-nvim-nix#nightly
- name: Build
working-directory: ./nightly
run: nix build .#neovim
stable:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v27
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: Setup Directory
working-directory: ./stable
run: nix flake init -t github:mrshmllow/tolerable-nvim-nix#stable
- name: Build
working-directory: ./stable
run: nix build .#neovim

0 comments on commit 6e9bfc3

Please sign in to comment.