Skip to content

Bump golang.org/x/net from 0.21.0 to 0.23.0 in /tools #26

Bump golang.org/x/net from 0.21.0 to 0.23.0 in /tools

Bump golang.org/x/net from 0.21.0 to 0.23.0 in /tools #26

Workflow file for this run

# .github/workflows/main.yml
name: Test & Lint
on:
workflow_call:
push:
branches:
- main
- release/*
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
permissions:
checks: write
strategy:
matrix:
go: [1.22.x, 1.21.x, 1.20.x]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- run: make generate
- run: make test
- uses: dorny/test-reporter@v1
if: success() || failure()
with:
name: Go ${{ matrix.go-version }} Test Results
path: .test/reports/**-test.xml
reporter: java-junit
fail-on-error: "true"
- uses: actions/upload-artifact@v4
if: success() || failure()
with:
name: Test Reports
path: .test/reports/**
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: ./go.mod
check-latest: true
- run: make lint