Skip to content

docs: workflow setup #94

docs: workflow setup

docs: workflow setup #94

Workflow file for this run

# Lint the entire golang project. This workflow relies on the
# '.golangci.yml' file for its configuration settings.
name: Lint
on:
push:
tags:
- v*
branches:
- master
- main
pull_request:
permissions:
contents: read
env:
GO_VERSION: 1.21
jobs:
golangci:
name: golangci-lint
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
- uses: actions/checkout@v4
- name: golangci-lint
uses: golangci/golangci-lint-action@v6.0.1
with:
version: v1.57.2
args: --timeout 15m