Skip to content

Bump step-security/harden-runner from 2.4.0 to 2.4.1 (#63) #141

Bump step-security/harden-runner from 2.4.0 to 2.4.1 (#63)

Bump step-security/harden-runner from 2.4.0 to 2.4.1 (#63) #141

Workflow file for this run

name: CodeCov Test and coverage
on: [push]
permissions: # added using https://github.com/step-security/secure-workflows
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@55d479fb1c5bcad5a4f9099a5d9f37c8857b2845
with:
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
with:
fetch-depth: 2
- uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9
with:
go-version: '1.16'
- name: Run coverage
run: go test ./... -race -coverprofile=coverage.txt -covermode=atomic -tags=debugNflex
- name: Upload coverage to Codecov
run: env CODECOV_TOKEN=764eb126-04d6-46cf-a952-cb51766c8572 bash <(curl -s https://codecov.io/bash)