Skip to content

chore: refactoring #953

chore: refactoring

chore: refactoring #953

Workflow file for this run

name: Linters
on: [push, pull_request]
jobs:
golangci-lint:
name: Golang-CI (lint)
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4 # action page: <https://github.com/actions/setup-go>
with:
go-version: stable
- name: Run linter
uses: golangci/golangci-lint-action@v3.7.0 # Action page: <https://github.com/golangci/golangci-lint-action>
with:
version: v1.54 # without patch version
only-new-issues: false # show only new issues if it's a pull request
args: --timeout=10m --build-tags=race