Skip to content

Commit

Permalink
ci: Add golangci-linter action
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasdietrich committed Mar 5, 2024
1 parent 432e2e7 commit 53ab65a
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Lint

on:
push:
branches:
- master
pull_request:

permissions:
contents: read
pull-request: read

jobs:
golangci:
name: Lint
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
with:
fetch-detch: 1

- uses: actions/setup-go@v5
with:
go-version: '1.21'
cache: false

- name: golangci-lint
uses: golangci/golangci-lint-action@v4
with:
version: latest

0 comments on commit 53ab65a

Please sign in to comment.