Skip to content

conn.go: Use %w verb for error propagation everywhere instead of %v. #125

conn.go: Use %w verb for error propagation everywhere instead of %v.

conn.go: Use %w verb for error propagation everywhere instead of %v. #125

Workflow file for this run

name: Go
on: [push]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.22
uses: actions/setup-go@v1
with:
go-version: 1.22
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v1
- name: Get dependencies
run: |
mkdir -p $GOPATH/bin
export PATH=$PATH:$GOPATH/bin
- name: Vet
run: go vet ./...
- name: Staticcheck
run: |
go get honnef.co/go/tools/cmd/staticcheck
GOBIN=$PWD/bin go install honnef.co/go/tools/cmd/staticcheck
./bin/staticcheck ./...
- name: Build
run: go build -o raknet_exe -v .