mirror of
https://github.com/NorfairKing/feedback.git
synced 2024-11-22 12:04:21 +03:00
trying to set up CI
This commit is contained in:
parent
ac5b314270
commit
6520c54360
2
.github/FUNDING.yml
vendored
Normal file
2
.github/FUNDING.yml
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
custom: https://cs-syd.eu/support
|
||||
github: [NorfairKing]
|
44
.github/workflows/nix-build.yml
vendored
Normal file
44
.github/workflows/nix-build.yml
vendored
Normal file
@ -0,0 +1,44 @@
|
||||
name: "Nix Build"
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
branches:
|
||||
- development
|
||||
- master
|
||||
jobs:
|
||||
hooks:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3.0.2
|
||||
- uses: cachix/install-nix-action@v17
|
||||
- uses: cachix/cachix-action@v10
|
||||
with:
|
||||
name: feedback
|
||||
extraPullNames: validity,sydtest,autodocodec
|
||||
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
|
||||
- run: nix-build ci.nix -A pre-commit-check
|
||||
|
||||
shell:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3.0.2
|
||||
- uses: cachix/install-nix-action@v17
|
||||
- uses: cachix/cachix-action@v10
|
||||
with:
|
||||
name: feedback
|
||||
extraPullNames: validity,sydtest,autodocodec
|
||||
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
|
||||
- run: nix-build ci.nix -A shell
|
||||
|
||||
tests:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3.0.2
|
||||
- uses: cachix/install-nix-action@v17
|
||||
- uses: cachix/cachix-action@v10
|
||||
with:
|
||||
name: feedback
|
||||
extraPullNames: validity,sydtest,autodocodec
|
||||
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
|
||||
- run: nix-build ci.nix -A release
|
||||
|
Loading…
Reference in New Issue
Block a user