add sanity test of ipv6 and ipv4 socket #11
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Go Test | |
| on: [push, pull_request] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: '1.24.x' # Set to your Go version | |
| - name: Run golangci-lint | |
| uses: golangci/golangci-lint-action@v4 | |
| - name: Install dependencies | |
| run: go mod tidy | |
| - name: Run tests | |
| run: go test -v ./... |