Skip to content

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

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

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

Workflow file for this run

name: Go
on:
push:
branches:
- master
pull_request:
jobs:
build:
strategy:
matrix:
go-version: [1.15.x,1.16.x]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Build
run: go build -v ./...
- name: Test
run: go test -v -race -coverprofile=coverage.txt -covermode=atomic ./...
- name: Upload coverage
uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: coverage.txt