Skip to content

chore(deps): update actions/setup-go action to v5 #48

chore(deps): update actions/setup-go action to v5

chore(deps): update actions/setup-go action to v5 #48

Workflow file for this run

name: Test and coverage
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 2
- uses: actions/setup-go@v5
with:
go-version: '1.19'
- name: Run coverage
run: go test ./... -race -coverprofile=coverage.txt -covermode=atomic
- name: Build
run: go build -v ./...
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3