Skip to content

Bump golang.org/x/net from 0.22.0 to 0.23.0 #110

Bump golang.org/x/net from 0.22.0 to 0.23.0

Bump golang.org/x/net from 0.22.0 to 0.23.0 #110

Workflow file for this run

name: Go
on: [push, pull_request]
jobs:
build:
name: Build
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.22'
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Cache Go modules
uses: actions/cache@v4
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-build-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.OS }}-build-
- name: Lint
uses: golangci/golangci-lint-action@v4
with:
version: v1.56.2
args: --timeout 10m
- name: Vet
if: matrix.os == 'ubuntu-latest'
run: go vet -v ./...
- name: Build
env:
CGO_ENABLED: 0
run: go build -ldflags "-s -w" ./...
- name: Test
run: go test -v -race ./...