Skip to content

Add automatic tests

Add automatic tests #1

Workflow file for this run

name: Run unit tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: '1.21.x'
- name: Install dependencies
run: go mod tidy
- name: Build
run: make build
- name: Test with the Go CLI
run: make test