Skip to content

Commit

Permalink
add golangci-lint workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ayoisaiah committed Dec 1, 2023
1 parent 6170012 commit 4fb3fe6
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: golangci-lint
on:
pull_request:
branches:
- master

permissions:
contents: read

jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: '1.21'
cache: false
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.55

0 comments on commit 4fb3fe6

Please sign in to comment.