Skip to content

Upgrade go agent to 1.23 #51

Upgrade go agent to 1.23

Upgrade go agent to 1.23 #51

Workflow file for this run

name: merge-check
on:
push:
branches:
- main
paths-ignore:
- "**/*.md"
- "LICENSE"
pull_request:
jobs:
test:
runs-on: ubuntu-20.04
strategy:
matrix:
go: ["1.21", "1.22", "1.23"]
steps:
# Set fetch-depth: 0 to fetch commit history and tags for use in version calculation
- name: Check out code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- name: download dependencies
run: |
go get ./...
- name: Lint files
uses: golangci/golangci-lint-action@v6.1.0
with:
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
version: v1.61.0
- name: Run tests
run: go test ./...