Skip to content

implement DIAG_INFO for TCP and SCTP #27

implement DIAG_INFO for TCP and SCTP

implement DIAG_INFO for TCP and SCTP #27

Workflow file for this run

on:
push:
branches: [ main ]
pull_request:
branches: [ '**' ]
# Set default permissions as read only.
permissions: read-all
name: Go
jobs:
go-test:
strategy:
matrix:
go-version: [1.18.x, 1.21.x, 1.22.x]
platform: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Test with -race
run: go test -race -count=5 ./...
code-check:
strategy:
matrix:
go-version: [1.22.x]
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: staticcheck.io
uses: dominikh/[email protected]
with:
version: "2023.1.7"
install-go: false
cache-key: ${{ matrix.go-version }}