network_inventory/.github/workflows/tests.yml

22 lines
526 B
YAML
Raw Normal View History

2022-11-12 22:46:46 +01:00
on:
push:
2022-11-19 15:35:44 +01:00
branches: [ "master", "dev" ]
2022-11-12 22:46:46 +01:00
pull_request:
# The branches below must be a subset of the branches above
2022-11-19 15:35:44 +01:00
branches: [ "master", "dev" ]
2022-11-30 22:35:26 +01:00
workflow_dispatch:
2022-11-19 15:33:52 +01:00
2022-11-12 22:46:46 +01:00
jobs:
tests:
runs-on: ubuntu-latest
steps:
2022-11-21 23:09:07 +01:00
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v18
2022-11-30 22:02:36 +01:00
- uses: cachix/cachix-action@v12
with:
2022-11-30 23:03:41 +01:00
name: networkinventory
2022-11-30 22:02:36 +01:00
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
2022-11-27 21:21:04 +01:00
- name: Test
2022-11-12 22:46:46 +01:00
run: |
2022-11-27 22:00:03 +01:00
nix flake check -L -j auto