Skip to content

Commit

Permalink
Add GitHub Action to test if package builds
Browse files Browse the repository at this point in the history
  • Loading branch information
jeslie0 committed Oct 15, 2023
1 parent 8c1a850 commit bebac17
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/test_build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Test to see if packages builds with nix
run-name: Test to see if package builds with nix
on:
push

jobs:
Update-JSON-Data:
runs-on: ubuntu-latest
steps:
- name: Setting up Checkout
uses: actions/checkout@v3
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}

- name: Set up Nix
uses: cachix/install-nix-action@v18
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}

- name: Try to build package
run: |
nix build

0 comments on commit bebac17

Please sign in to comment.