Skip to content

build(deps): bump github/codeql-action from 4.30.8 to 4.30.9 #189

build(deps): bump github/codeql-action from 4.30.8 to 4.30.9

build(deps): bump github/codeql-action from 4.30.8 to 4.30.9 #189

Workflow file for this run

name: Test and coverage
on: [push, pull_request]
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@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a
with:
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
with:
fetch-depth: 2
- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00
with:
go-version: '1.20'
- name: Run coverage
run: go test ./... -race -coverprofile=coverage.txt -covermode=atomic
- name: Upload coverage to Codecov
uses: codecov/[email protected]
with:
verbose: true
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}