Bump github.com/onsi/gomega from 1.26.0 to 1.29.0 #349
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: Build, Lint, and Test | |
env: | |
EXPORT_RESULT: true | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '^1.18' | |
- name: Install dependencies | |
run: make vendor | |
- name: Check build | |
run: make build | |
- name: Run golangci-lint | |
uses: golangci/[email protected] | |
with: | |
args: --enable gofmt --enable gofumpt --timeout 5m | |
- name: Check YAML linting | |
run: make lint-yaml | |
- name: Check Kubebuilder Annotation linting | |
run: make lint-kubebuilder | |
- name: Run tests | |
run: make test | |
- name: Prepare coverage report | |
run: make coverage | |
- name: Codecov | |
uses: codecov/[email protected] | |