Skip to content

Commit

Permalink
ci: add golint to Github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
huantt committed Sep 12, 2023
1 parent afd1550 commit 6087d79
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/golint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: golangci-lint
on:
push:
branches:
- main
pull_request:

permissions:
contents: read

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

0 comments on commit 6087d79

Please sign in to comment.