Skip to content

upgraded to sing-tun gvisor netstack #29

upgraded to sing-tun gvisor netstack

upgraded to sing-tun gvisor netstack #29

Workflow file for this run

# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: Go Testing
on:
push:
branches:
- "main"
- "release/*"
pull_request:
branches: ["main"]
permissions:
contents: write
packages: write
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
go-version: ["1.22"]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Go test
# run: go test -v ./... -json > TestResults-${{ matrix.os }}-${{ matrix.go-version }}.json
run: go test -v ./...
# - name: Upload Go test results
# uses: actions/upload-artifact@v4
# with:
# name: Go-results-${{ matrix.os }}-${{ matrix.go-version }}
# path: TestResults-${{ matrix.os }}-${{ matrix.go-version }}.json