Skip to content

Update vendor

Update vendor #227

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@v2
with:
go-version: ${{ matrix.go-version }}
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Build
env:
GOARCH: ${{ matrix.goarch }}
run: go build -o multi-networkpolicy-iptables_${{ matrix.goarch }} ./cmd/multi-networkpolicy-iptables/