Skip to content

[Snyk] Security upgrade ubuntu from trusty to trusty-20190425 #200

[Snyk] Security upgrade ubuntu from trusty to trusty-20190425

[Snyk] Security upgrade ubuntu from trusty to trusty-20190425 #200

Workflow file for this run

on: [push, pull_request]
name: Build
jobs:
build:
strategy:
matrix:
go-version: [1.15.x, 1.16.x]
#goarch: [386, amd64, arm, ppc64le, arm64]
goarch: [amd64, arm64]
os: [ubuntu-latest] #, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v2
- name: Install kubebuilder tools
run: ./hack/install-kubebuilder-tools.sh
- name: Generate code
run: ./hack/generate-code.sh
- name: Build
env:
GOARCH: ${{ matrix.goarch }}
GOOS: ${{ matrix.goos }}
run: ./hack/build-go.sh