Thanks to visit codestin.com
Credit goes to github.com

Skip to content

feat: 增加 proto 部分的校验 && 修复多个 port 的情况下会报错的问题。 #5

feat: 增加 proto 部分的校验 && 修复多个 port 的情况下会报错的问题。

feat: 增加 proto 部分的校验 && 修复多个 port 的情况下会报错的问题。 #5

Workflow file for this run

name: CI
on:
pull_request:
branches: [ master ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.24.0'
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y libpcap-dev
- name: Install dependencies
run: make mod
- name: Install build tools
run: make tools
- name: Run tests
run: make test
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.24.0'
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y libpcap-dev
- name: Install build tools
run: make tools
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: latest
args: --out-format=colored-line-number
only-new-issues: true