Skip to content

Merge pull request #4761 from kubernetes-sigs/dependabot/go_modules/g… #146

Merge pull request #4761 from kubernetes-sigs/dependabot/go_modules/g…

Merge pull request #4761 from kubernetes-sigs/dependabot/go_modules/g… #146

Workflow file for this run

# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: codecov
on:
pull_request:
push:
branches:
- main
permissions:
contents: read
jobs:
coverage:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0
with:
egress-policy: audit
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
with:
go-version: '1.21'
- run: "PATH=/usr/local/go/bin:$PATH make test-cover"
- uses: codecov/codecov-action@84508663e988701840491b86de86b666e8a86bed # v4.3.0
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
files: ./coverage.out
fail_ci_if_error: true