Skip to content

Commit

Permalink
golangci-lint implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
1nv8rzim committed Aug 25, 2023
1 parent f1d75fd commit af4be21
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/golangci-lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Go Lint

on: [push, pull_request]

jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2

- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.20

- name: Run golangci-lint
uses: golangci/golangci-lint-action@v2
with:
version: v1.42.0
args: --issues-exit-code=0
working-directory: .

0 comments on commit af4be21

Please sign in to comment.