mirror of
https://github.com/Mic92/sops-nix.git
synced 2026-01-13 18:17:54 +08:00
22 lines
573 B
YAML
22 lines
573 B
YAML
name: "Test"
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- master
|
|
schedule:
|
|
- cron: '51 2 * * *'
|
|
jobs:
|
|
tests:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
- uses: cachix/install-nix-action@v31
|
|
with:
|
|
extra_nix_config: |
|
|
extra-substituters = https://cache.thalheim.io
|
|
extra-trusted-public-keys = cache.thalheim.io-1:R7msbosLEZKrxk/lKxf9BTjOOH7Ax3H0Qj0/6wiHOgc=
|
|
- name: Add keys group (needed for go tests)
|
|
run: sudo groupadd keys
|
|
- name: Run unit tests
|
|
run: nix run .#unit-tests
|