Capture logs using kube_capture(what="logs") in parallel. Do not fail on error #652
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: Crash Diagnostics Build | |
on: [push, pull_request] | |
jobs: | |
go-build: | |
name: Build-Test-Binary | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.19.10 | |
id: go | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v1 | |
- name: test | |
run: | | |
sudo ufw allow 2200:2300/tcp | |
sudo ufw enable | |
sudo ufw status verbose | |
go get sigs.k8s.io/[email protected] | |
go test -timeout 600s -v -p 1 ./... | |
- name: Run gofmt | |
run: GO111MODULE=on go run .ci/prebuild/gofmt_check.go | |
- name: Run linter | |
uses: golangci/[email protected] | |
with: | |
version: v1.53.3 | |
only-new-issues: true | |
args: --timeout 5m |