Skip to content

Upgrading go lang to 1.22.4 #5679

Upgrading go lang to 1.22.4

Upgrading go lang to 1.22.4 #5679

Workflow file for this run

name: Code Coverage
on: [push, pull_request]
jobs:
codecov:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.22.x
cache: false
- name: Download dependencies
run: go mod download
- name: Test and coverage
run: CGO_ENABLED=0 go test -p 1 -covermode=atomic -v -coverprofile=coverage.out ./...
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4.3.1
timeout-minutes: 5
with:
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}
flags: unittests