Skip to content

chore: Update from ubi8/go-toolset:1.19.10-3 to ubi8/go-toolset:1.19.… #211

chore: Update from ubi8/go-toolset:1.19.10-3 to ubi8/go-toolset:1.19.…

chore: Update from ubi8/go-toolset:1.19.10-3 to ubi8/go-toolset:1.19.… #211

Workflow file for this run

name: Code Coverage Report
on:
push:
branches:
- main
jobs:
coverage-report:
name: Check Code Coverage
runs-on: ubuntu-20.04
steps:
-
name: Set up Go 1.x
uses: actions/setup-go@v4
with:
go-version: 1.18.4
-
name: Set up Python 3.8
uses: actions/setup-python@v4
with:
python-version: 3.8
-
name: Check out code into the Go module directory
uses: actions/checkout@v3
-
name: Cache go modules
id: cache-mod
uses: actions/cache@v3
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
-
name: Download dependencies
run: go mod download
if: steps.cache-mod.outputs.cache-hit != 'true'
-
name: Run Go Tests
run: |
python -m pip install --upgrade pip yq
go install golang.org/x/tools/cmd/goimports@latest
go install github.com/onsi/ginkgo/v2/[email protected]
make update_devworkspace_crds test
-
name: Build Codecov report
uses: codecov/codecov-action@v3
with:
files: ./cover.out,./controller.cover.out