Skip to content

Dev

Dev #45

Workflow file for this run

name: MR
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- goarch: amd64
goos: linux
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: '1.18'
- name: Cache Go modules
id: cache-go-mod
uses: actions/cache@v4
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-1.18
restore-keys: ${{ runner.os }}-go-1.18
- name: Keyword-search
run: make check
- name: Apt Install ...
run: sudo apt-get update; sudo apt-get install libpcap-dev # install libpcap for gopcap-sdk
- name: Show Project ...
run: ls -al
- name: Compile-cors
run: make cors
- name: Compile-build
run: make build
- name: Test
run: make test