Create test.yml

This commit is contained in:
Tim Schubert 2023-05-25 16:32:42 +02:00 committed by GitHub
parent 76c772dd1d
commit efc9a2a582
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

26
.github/workflows/test.yml vendored Normal file
View file

@ -0,0 +1,26 @@
name: Check
on:
pull_request:
push:
branches: [main]
jobs:
checks:
name: "Checks"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v20
with:
nix_path: nixpkgs=channel:nixos-stable
extra_nix_config: |
experimental-features = nix-command flakes
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
system-features = nixos-test benchmark big-parallel kvm
- uses: cachix/cachix-action@v12
with:
name: dadada
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: nix flake check