Skip to content

Bump codecov/codecov-action from 4.5.0 to 4.6.0 #267

Bump codecov/codecov-action from 4.5.0 to 4.6.0

Bump codecov/codecov-action from 4.5.0 to 4.6.0 #267

Workflow file for this run

name: coverage
on: [push]
jobs:
build:
name: build
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.22'
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- name: Get dependencies
run: go get -v -t -d ./...
- name: Build
run: go build -v .
- name: Test
run: go test -coverpkg="go.nanomsg.org/mangos/v3/..." -covermode=count -coverprofile="coverage.txt" ./...
- name: Upload coverage to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.txt
flags: unittests
name: codecov-umbrella
yml: ./codecov.yml