Skip to content

Code refactoring + Acceptance/Unit testing #46

Code refactoring + Acceptance/Unit testing

Code refactoring + Acceptance/Unit testing #46

Workflow file for this run

---
name: Linters
on:
push:
branches:
- main
- stable-*
pull_request:
jobs:
linters:
name: Linters
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
- uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
cache: false
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
# Require: The version of golangci-lint to use.
version: v1.54
# Optional: golangci-lint command line arguments.
# Note: By default, the `.golangci.yml` file should be at the root of the repository.
# The location of the configuration file can be changed by using `--config=`
args: --timeout=10m --config=.golangci.yml
# Optional: if set to true, then the action won't cache or restore ~/go/pkg.
skip-pkg-cache: true