Skip to content

Commit

Permalink
Enable golangci-lint CI action
Browse files Browse the repository at this point in the history
  • Loading branch information
georgepsarakis committed Dec 17, 2023
1 parent 24e4144 commit 3c6e145
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: lint
on: [push]

jobs:
golangci-lint:
name: golangci-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.55.2"
6 changes: 4 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,7 @@ jobs:
run: go get .
- name: Build
run: go build -v ./...
- name: Test
run: go test
- name: Unit Tests
run: go test -v ./...
- name: CLI Integration Tests
run got test -v main_test.go

0 comments on commit 3c6e145

Please sign in to comment.