Files
oss-telemetry/.github/workflows/lint.yaml
T
lukaszraczyloandGitHub 7a37779eb7 ci: migrate to shared workflows (#1)
Replace the generic ci.yml jobs with the shared go-pr and go-release workflows.
Add autoupdate through shared go-autoupdate.
Keep golangci-lint in a separate lint.yaml, because the shared workflows do not run it.
Add a build-less .goreleaser.yaml so the shared release flow can tag and publish the library.
2026-10-02 04:41:50 +01:00

29 lines
460 B
YAML

name: Lint
on:
pull_request:
branches:
- main
push:
branches:
- main
permissions:
contents: read
concurrency:
group: lint-${{ github.ref }}
cancel-in-progress: true
jobs:
golangci-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-go@v6
with:
go-version: ">=1.22"
- uses: golangci/golangci-lint-action@v7
with:
version: v2.9.0