Skip to content

Merge pull request #261 from vmware-tanzu/dependabot/go_modules/golan… #618

Merge pull request #261 from vmware-tanzu/dependabot/go_modules/golan…

Merge pull request #261 from vmware-tanzu/dependabot/go_modules/golan… #618

Workflow file for this run

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