Skip to content

Bump actions/download-artifact from 3 to 4.1.7 in /.github/workflows #95

Bump actions/download-artifact from 3 to 4.1.7 in /.github/workflows

Bump actions/download-artifact from 3 to 4.1.7 in /.github/workflows #95

Workflow file for this run

name: Test and coverage
on:
pull_request:
branches: [ main, dev ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go-image: [ '1.18-bullseye' ]
steps:
- uses: actions/checkout@v3
- name: Run coverage
run: docker run --rm -v ${{ github.workspace }}:/src -w /src golang:${{ matrix.go-image }} go test ./... -race -coverprofile coverage.out -covermode atomic
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos
fail_ci_if_error: true # optional (default = false)
verbose: true # optional (default = false)