Skip to content

[GHA] Add go-test workflow. #2

[GHA] Add go-test workflow.

[GHA] Add go-test workflow. #2

Workflow file for this run

name: golangci-lint
on:
push:
branches:
- master
- main
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
golangci:
name: Go 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"