Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update linters #40

Merged
merged 18 commits into from
Nov 10, 2022
14 changes: 13 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ on: # yamllint disable-line rule:truthy
workflow_dispatch:

jobs:
golangci_lint:
lint:
name: Linters
runs-on: ubuntu-latest
steps:
- name: Install Go
Expand All @@ -23,3 +24,14 @@ jobs:

- name: Lint
uses: golangci/golangci-lint-action@v3
with:
# Specify a version instead of 'latest'
# because of something wrong with 1.48.0
version: v1.50.1
args:
--config=./.golangci.yml
JekaMas marked this conversation as resolved.
Show resolved Hide resolved

- name: staticcheck
uses: dominikh/staticcheck-action@v1.2.0
with:
version: "2022.1.1"
Loading