Skip to content

[GHA] Add golangci-lint workflow. #1

[GHA] Add golangci-lint workflow.

[GHA] Add golangci-lint workflow. #1

Workflow file for this run

name: golangci-lint
on:
push:
branches:
- master
- main
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.22'
cache: false
- name: golangci-lint
uses: golangci/golangci-lint-action@v4
with:
version: v1.56.2
skip-cache: true
install-mode: "binary"