Skip to content

chore(deps): update codecov/codecov-action action to v5 #65

chore(deps): update codecov/codecov-action action to v5

chore(deps): update codecov/codecov-action action to v5 #65

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@v2
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@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: coverage.txt