Skip to content

chore(deps): bump goreleaser/goreleaser-action from 6.0.0 to 6.1.0 #2327

chore(deps): bump goreleaser/goreleaser-action from 6.0.0 to 6.1.0

chore(deps): bump goreleaser/goreleaser-action from 6.0.0 to 6.1.0 #2327

Workflow file for this run

name: Test and coverage
on: [pull_request, push]
env:
BUILD_TAGS: 'akscluster cluster clustergroup credential ekscluster gitrepository iampolicy kustomization namespace custompolicy imagepolicy networkpolicy quotapolicy securitypolicy sourcesecret workspace tanzupackage tanzupackages packagerepository packageinstall clustersecret integration mutationpolicy backupschedule targetlocation dataprotection tanzukubernetescluster clusterclass managementcluster provisioner inspections custompolicytemplate customiamrole permissiontemplate'
jobs:
build:
name: Test and coverage
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.19
- name: Build
run: |
go build -v ./...
- name: Unit Test
run: |
go test $(go list ./... | grep -v /internal/client | grep -v /internal/models) -coverprofile=coverage.out -covermode=atomic
- name: Mock Test
run: |
go test $(go list ./... | grep -v /internal/client | grep -v /internal/models) -tags $BUILD_TAGS
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4