Skip to content

e2e: Add basic bond-cni test case #260

e2e: Add basic bond-cni test case

e2e: Add basic bond-cni test case #260

Workflow file for this run

on: [push, pull_request]
name: build
jobs:
build:
strategy:
matrix:
go-version: [1.20.x, 1.21.x]
goarch: [amd64, arm64]
runs-on: ubuntu-latest
if: >
(( github.event.pull_request.head.repo.owner.login != github.event.pull_request.base.repo.owner.login ) &&
github.event_name == 'pull_request' ) || (github.event_name == 'push' && github.event.commits != '[]' )
env:
GO111MODULE: on
steps:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- name: Build
env:
GOARCH: ${{ matrix.goarch }}
run: go build -o multi-networkpolicy-iptables_${{ matrix.goarch }} ./cmd/multi-networkpolicy-iptables/