Skip to content

Upgrade go dependencies #3756

Upgrade go dependencies

Upgrade go dependencies #3756

Workflow file for this run

name: ci
on:
push:
branches: [main]
tags: ['v*']
pull_request:
branches: [main]
schedule:
- cron: '15 22 * * *'
workflow_dispatch: {} # support manual runs
permissions:
contents: read
jobs:
test:
name: test (go:${{ matrix.go-version.name }}, ${{ matrix.goarch }})
runs-on: ubuntu-latest
strategy:
matrix:
go-version:
- name: latest
version: 1.26.x
- name: previous
version: 1.25.x
goarch: [amd64, 386]
steps:
- uses: actions/checkout@v7
- uses: actions/setup-go@v7
with:
go-version: ${{ matrix.go-version.version }}
- run: make test
env:
GOARCH: ${{ matrix.goarch }}
benchmarks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: actions/setup-go@v7
with:
go-version: 1.26.x
- run: make benchmarks
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: actions/setup-go@v7
with:
go-version: 1.26.x
- run: make generate
- run: make checkgenerate
# Often, lint & gofmt guidelines depend on the Go version. To prevent
# conflicting guidance, run only on the most recent supported version.
# For the same reason, only check generated code on the most recent
# supported version.
- run: make lint