Skip to content

Drop support for Go 1.25 #1591

Drop support for Go 1.25

Drop support for Go 1.25 #1591

Workflow file for this run

name: 🧹 Lint code
on:
push:
branches:
- main
pull_request:
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v5
with:
persist-credentials: false
- name: Set up Go
uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
with:
go-version: "1.26"
cache-dependency-path: |
go.sum
cmd/zen-go/go.sum
instrumentation/**/go.sum
sample-apps/**/go.sum
end2end/mock-server/go.mod
- name: Install tools
run: make install-tools-lint
- name: Cache golangci-lint analysis cache
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
path: ~/.cache/golangci-lint
key: golangci-lint-${{ runner.os }}-${{ github.run_id }}
restore-keys: |
golangci-lint-${{ runner.os }}-
- name: Run linter
run: make lint
- name: Run linter with integration tag
run: make lint-integration