mirror of
https://github.com/callumio/nish.git
synced 2025-12-16 19:19:20 +00:00
ci: add workflow
This commit is contained in:
parent
bc976031d8
commit
89c01b9845
1 changed files with 27 additions and 0 deletions
27
.github/workflows/build.yml
vendored
Normal file
27
.github/workflows/build.yml
vendored
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
name: "build"
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
tests:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: cachix/install-nix-action@v27
|
||||
with:
|
||||
github_access_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- uses: DeterminateSystems/magic-nix-cache-action@v7
|
||||
- uses: cachix/cachix-action@v15
|
||||
with:
|
||||
name: callumio-public
|
||||
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
||||
extraPullNames: nix-community
|
||||
- run: nix build
|
||||
- run: nix flake check
|
||||
Loading…
Add table
Add a link
Reference in a new issue