Skip to content

Bump codecov/codecov-action from 4.6.0 to 5.0.2 in the github-actions group #32

Bump codecov/codecov-action from 4.6.0 to 5.0.2 in the github-actions group

Bump codecov/codecov-action from 4.6.0 to 5.0.2 in the github-actions group #32

Workflow file for this run

name: Go
on:
push:
branches: [ "v3" ]
pull_request:
branches: [ "v3" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
with:
egress-policy: audit
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up Go
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
with:
go-version: 1.21
- name: Build
run: go build -v ./...
- name: Test
run: go test -race -coverprofile=coverage.txt -covermode=atomic ./...
- name: Codecov
uses: codecov/codecov-action@5c47607acb93fed5485fdbf7232e8a31425f672a # v5.0.2