Skip to content

Bump golang.org/x/net from 0.25.0 to 0.28.0 #117

Bump golang.org/x/net from 0.25.0 to 0.28.0

Bump golang.org/x/net from 0.25.0 to 0.28.0 #117

Workflow file for this run

name: Go
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
# Test the latest go version
# and upload the test coverage.
test_latest:
name: Go latest stable
runs-on: ubuntu-latest
steps:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: 'stable'
check-latest: true
- name: Checkout code
uses: actions/checkout@v4
- name: Build
run: go build -v .
- name: Test
run: go test ./... -v -race -coverprofile=coverage.txt -covermode=atomic
- uses: codecov/codecov-action@v4
with:
files: ./coverage.txt
token: ${{ secrets.CODECOV_TOKEN }}
# Test the latest three golang version
# on different operating systems.
test_versions:
strategy:
matrix:
go: ['1.20', '1.21', '1.22']
# TODO: also test on 'windows-latest'
os: [ubuntu-latest, macos-latest]
name: Go ${{ matrix.go }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- name: Checkout code
uses: actions/checkout@v4
- name: Test
run: go test ./... -v -race -cover