Skip to content

Commit

Permalink
ci: add lint job
Browse files Browse the repository at this point in the history
  • Loading branch information
turtleDev committed Jul 18, 2024
1 parent 231f1ec commit f1794fb
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Lint

on:
- push
- pull_request

jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: checkout repo
uses: actions/checkout@v2
- name: setup go
uses: actions/setup-go@v3
with:
go-version: "1.22.4"
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.59.1

0 comments on commit f1794fb

Please sign in to comment.