Skip to content

#8 Setting up CI checks via GH Actions #2

#8 Setting up CI checks via GH Actions

#8 Setting up CI checks via GH Actions #2

Workflow file for this run

name: tests
on:
push:
branches: ["main", "develop"]
pull_request:
branches: ["main", "develop"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.21"
check-latest: true
- name: Test
run: go test -v -count=1 -race -shuffle=on -coverprofile=coverage.txt ./...