Skip to content

chore(deps): update codecov/codecov-action action to v4 #27

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

chore(deps): update codecov/codecov-action action to v4 #27

Workflow file for this run

name: go_test
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.18
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...
- name: Cover
run: go test -coverprofile=coverage.out -covermode=count ./...
- name: codecov-umbrella
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.out
fail_ci_if_error: true