Skip to content

ci: use on actions to setup all go #3179

ci: use on actions to setup all go

ci: use on actions to setup all go #3179

Workflow file for this run

name: Lint
on:
push:
branches-ignore:
- renovate/**
paths:
- "**.go"
- "**.go.json"
- "go.mod"
- "go.sum"
- ".golangci.yaml"
- ".github/workflows/lint.yaml"
pull_request:
branches:
- master
paths:
- "**.go"
- "**.go.json"
- "go.mod"
- "go.sum"
- ".golangci.yaml"
- ".github/workflows/lint.yaml"
env:
GOTOOLCHAIN: "local"
jobs:
lint:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-go
with:
env: lint
- run: go get -t ./...
- name: Run linters
uses: golangci/golangci-lint-action@v6
with:
version: v1.64.5