Skip to content

Bump github.com/onsi/ginkgo/v2 from 2.17.2 to 2.17.3 #186

Bump github.com/onsi/ginkgo/v2 from 2.17.2 to 2.17.3

Bump github.com/onsi/ginkgo/v2 from 2.17.2 to 2.17.3 #186

Workflow file for this run

---
name: Tests
on:
push:
tags-ignore:
- '**'
branches:
- main
pull_request:
branches:
- main
jobs:
tests:
name: Tests
runs-on: ubuntu-latest
strategy:
fail-fast: true
max-parallel: 2
matrix:
kubernetes:
- v1.22.15
- v1.23.12
- v1.24.6
steps:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.19.x
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: Setup Cache for Go modules
uses: actions/cache@v2
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Build source files
run: go build ./...
- name: Install kubectl
uses: azure/setup-kubectl@v3
with:
version: ${{ matrix.kubernetes }}
- name: Create KinD cluster
uses: helm/kind-action@v1.2.0
with:
version: v0.17.0
node_image: kindest/node:${{ matrix.kubernetes }}
cluster_name: kind
wait: 120s
- name: Install Tekton
run: hack/install-tekton.sh
- name: Install Shipwright
run: hack/install-shipwright.sh
- name: Run Tests
run: |
go install -mod=mod github.com/onsi/ginkgo/v2/ginkgo
make test
- name: Upload Code Coverage Profile
uses: codecov/codecov-action@v3
with:
threshold: 2%
files: unit.coverprofile
flags: unittests
fail_ci_if_error: true
verbose: false