Skip to content

fix: bump x/tools to 0.30.0 to support Go 1.24 #105

fix: bump x/tools to 0.30.0 to support Go 1.24

fix: bump x/tools to 0.30.0 to support Go 1.24 #105

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
main:
runs-on: ubuntu-latest
strategy:
matrix:
go: ['1.22', 'stable', 'oldstable']
env:
GOLANGCI_LINT_VERSION: v1.64.5
CGO_ENABLED: 0
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
check-latest: true
- name: Check and get dependencies
run: |
go mod tidy
git diff --exit-code go.mod
git diff --exit-code go.sum
- name: Run golangci-lint ${{ env.GOLANGCI_LINT_VERSION }}
uses: golangci/golangci-lint-action@v6
with:
args: --verbose
version: ${{ env.GOLANGCI_LINT_VERSION }}
- run: make test
- run: make install