Skip to content

Merge branch 'main-dev' of github.com:cdk-team/CDK into main-dev #120

Merge branch 'main-dev' of github.com:cdk-team/CDK into main-dev

Merge branch 'main-dev' of github.com:cdk-team/CDK into main-dev #120

Workflow file for this run

name: Go Check
on: [push, pull_request]
jobs:
buildable:
name: Buildable and Runable
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: build
uses: actions/setup-go@v2
with:
go-version: '1.17'
- run: |
export CGO_ENABLED=0
GOOS=darwin GOARCH=amd64 go build -ldflags="-s -w " ./cmd/cdk/cdk.go
GOOS=linux GOARCH=386 go build -ldflags="-s -w " ./cmd/cdk/cdk.go
GOOS=linux GOARCH=arm go build -ldflags="-s -w " ./cmd/cdk/cdk.go
GOOS=linux GOARCH=arm64 go build -ldflags="-s -w " ./cmd/cdk/cdk.go
GOOS=linux GOARCH=amd64 go build -ldflags="-s -w " ./cmd/cdk/cdk.go
# test main function with Evaluate, Exploit and Tool
go test -v -timeout 30s -run ^TestParseCDKMain$ pkg/cli/*.go