chore: add codeowners, update gitignore #107
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: | |
push: | |
tags: ['v*'] | |
pull_request: | |
branches: ['main'] | |
workflow_dispatch: | |
workflow_call: | |
jobs: | |
go-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Repo Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version-file: './go.mod' | |
- name: Install dependencies | |
run: go get . | |
- name: Run build | |
run: go build ./... | |
- name: Run tests | |
run: go test -v ./... | |
- name: Run golang lint | |
uses: golangci/golangci-lint-action@v3 | |
nix-checks: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install Nix | |
uses: cachix/install-nix-action@v22 | |
- name: Run nix flake check | |
run: nix flake check |