Skip to content

Commit

Permalink
Merge pull request #585 from traPtitech/breaking/use-golangci-officia…
Browse files Browse the repository at this point in the history
…l-action

💥 use official golangci-action
  • Loading branch information
ras0q authored Oct 24, 2023
2 parents d24e44c + b145730 commit 87c401e
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: CI
on:
push:
branches:
- 'main'
- main
pull_request:

jobs:
Expand All @@ -26,12 +26,17 @@ jobs:
lint:
name: Lint
runs-on: ubuntu-latest
needs:
- build
steps:
- uses: actions/checkout@v4
- name: Run linters
uses: reviewdog/action-golangci-lint@v2
- uses: actions/setup-go@v4
with:
go-version-file: ./go.mod
- uses: golangci/golangci-lint-action@v3
with:
filter_mode: nofilter
version: latest
install-mode: goinstall
test-unit:
name: Test (Unit)
runs-on: ubuntu-latest
Expand Down

0 comments on commit 87c401e

Please sign in to comment.