fix forward socks5 udp #25
This file contains 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: Test | |
on: | |
push: | |
branches: | |
- master | |
- latest | |
paths: | |
- "**/*.go" | |
- "go.mod" | |
- "go.sum" | |
- ".github/workflows/test.yml" | |
pull_request: | |
types: [opened, synchronize, reopened] | |
branches: | |
- master | |
paths: | |
- "**/*.go" | |
- "go.mod" | |
- "go.sum" | |
- ".github/workflows/test.yml" | |
jobs: | |
test: | |
strategy: | |
fail-fast: false | |
matrix: | |
go-version: ["^1.18"] | |
platform: [ubuntu-latest, windows-latest] | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: ^1.18 | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Check Go modules | |
run: | | |
go mod tidy | |
git diff --exit-code go.mod go.sum | |
go mod verify | |
- name: Test | |
run: make test |