Skip to content

Fix versioning and resolve build issues #16

Fix versioning and resolve build issues

Fix versioning and resolve build issues #16

Workflow file for this run

name: Go Tests
on:
push:
branches: [ main, master ]
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Download all dependencies
run: |
go get github.com/BurntSushi/toml@v1.4.0
go get github.com/xjasonlyu/tun2socks/v2/engine@v2.6.0
go mod download
- name: Run Go tests
run: go test ./...