Skip to content

bump to go 1.20

bump to go 1.20 #183

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@2e205a28d0e1da00c5f53b161f4067b052c61f34
with:
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
- uses: actions/checkout@e2f20e631ae6d7dd3b768f56a5d2af784dd54791
with:
fetch-depth: 2
- uses: actions/setup-go@bfdd3570ce990073878bf10f6b2d79082de49492
with:
go-version: '1.20'
- name: Run coverage
run: go test ./... -race -coverprofile=coverage.txt -covermode=atomic -tags=debugNfigure
- name: Upload coverage to Codecov
run: bash <(curl -s https://codecov.io/bash)