Bump github.com/onsi/gomega from 1.34.0 to 1.34.1 #192
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
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/[email protected] | |
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 |