Skip to content

Update registry.access.redhat.com/ubi9/go-toolset Docker tag to v9.5-1734626445 #440

Update registry.access.redhat.com/ubi9/go-toolset Docker tag to v9.5-1734626445

Update registry.access.redhat.com/ubi9/go-toolset Docker tag to v9.5-1734626445 #440

Workflow file for this run

name: Go tests
on:
push:
branches: ["master"]
pull_request:
jobs:
gotests:
runs-on: ubuntu-20.04
strategy:
matrix:
go-version:
- "1.20"
- "1.21"
name: Tests for Go ${{ matrix.go-version}}
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- name: Unit tests
run: env
- name: Retrieve code coverage
run: go test -coverprofile coverage.out $(go list ./... | grep -v tests)
- name: Display code coverage
run: go tool cover -func=coverage.out