Skip to content

Bump github/codeql-action from 2.3.0 to 2.21.5 #409

Bump github/codeql-action from 2.3.0 to 2.21.5

Bump github/codeql-action from 2.3.0 to 2.21.5 #409

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@128a63446a954579617e875aaab7d2978154e969
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.18'
- name: Run coverage
run: make calculate_coverage
- name: Upload coverage to Codecov
uses: codecov/codecov-action@894ff025c7b54547a9a2a1e9f228beae737ad3c2
with:
verbose: true
flags: go_tests
fail_ci_if_error: true