Skip to content

Bump actions/setup-go from 4.0.1 to 4.1.0 #381

Bump actions/setup-go from 4.0.1 to 4.1.0

Bump actions/setup-go from 4.0.1 to 4.1.0 #381

Workflow file for this run

---
name: "CI"
on:
push:
paths:
- '.github/workflows/*'
- 'controllers/*'
- 'vendor/*'
- 'go.mod'
- 'go.sum'
- 'main.go'
jobs:
build:
name: Tests
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/[email protected]
with:
go-version: '1.20.2'
- name: Checkout code
uses: actions/[email protected]
- name: Run go fmt
run: make fmt
- name: Run go vet
run: make vet
- name: Run go lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.52.2
args: --timeout 5m --enable revive,gofmt,exportloopref --exclude-use-default=false --modules-download-mode=vendor --build-tags integration
- name: Run go test
run: make test
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
env_vars: GO
fail_ci_if_error: true
files: ./cover.out
flags: unittests
name: codecov-umbrella
verbose: true