Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

NETDEV-5569: Fix filtering of invalid prefixes #139

NETDEV-5569: Fix filtering of invalid prefixes

NETDEV-5569: Fix filtering of invalid prefixes #139

Workflow file for this run

name: Go
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: ^1.20
- name: Check out code into the Go module directory
uses: actions/checkout@v2
with:
fetch-depth: '0'
- name: Test & Vet
run: make test vet
- name: Build
run: |
GOOS=linux make build-octorpki
GOOS=darwin make build-octorpki
GOOS=windows EXTENSION=.exe make build-octorpki
- name: Install fpm
run: |
sudo apt-get update
sudo apt-get install -y rpm ruby ruby-dev
sudo gem install fpm
- name: Package
run: make package-deb-octorpki package-rpm-octorpki
- name: Upload Artifact
uses: actions/upload-artifact@v2
with:
name: dist
path: dist/*
retention-days: 14