Skip to content

Bump github.com/pion/dtls/v3 from 3.0.4 to 3.0.11 #668

Bump github.com/pion/dtls/v3 from 3.0.4 to 3.0.11

Bump github.com/pion/dtls/v3 from 3.0.4 to 3.0.11 #668

Workflow file for this run

name: Go CI
on:
push:
branches: [main]
paths:
- 'lantern-core/**'
- 'go.mod'
- 'go.sum'
- '.github/workflows/go.yml'
pull_request:
paths:
- 'lantern-core/**'
- 'go.mod'
- 'go.sum'
- '.github/workflows/go.yml'
jobs:
build:
runs-on: macos-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
- name: Verify Go version
run: go version
- name: Cache Go modules
uses: actions/cache@v3
with:
path: |
~/Library/Caches/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
- name: Install dependencies
run: go mod download
- name: Run gofmt
run: |
UNFORMATTED=$(gofmt -l .)
if [[ -n "$UNFORMATTED" ]]; then
echo "Files not formatted:"
echo "$UNFORMATTED"
exit 1
fi
- name: Run tests
run: CGO_ENABLED=1 go test -v -tags with_clash_api,with_conntrack ./...