Skip to content

add test action

add test action #1

Workflow file for this run

name: Run Tests
on:
pull_request:
push:
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: '1.20'
- uses: cachix/install-nix-action@v22
with:
nix_path: nixpkgs=channel:nixos-stable
- run: nix build
- run: |
nix run '.#initKind'
nix run '.#deployToKind'
go test -v ./...