Skip to content
This repository has been archived by the owner on Sep 23, 2024. It is now read-only.

Commit

Permalink
Introduce lint GH workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan-Ethernal committed Nov 20, 2023
1 parent 60c23d1 commit 6dd77f1
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Lint
on:
pull_request:
workflow_call: {}
workflow_dispatch: {}

jobs:
lint:
name: Run Linter
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: 1.21.x

- name: Checkout code
uses: actions/checkout@v3

- name: Lint
uses: golangci/golangci-lint-action@v3
with:
args: --timeout 10m --verbose

0 comments on commit 6dd77f1

Please sign in to comment.