Skip to content

Commit

Permalink
ci: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Redmomn committed Feb 5, 2025
1 parent f5a8618 commit ed95315
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,17 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Install Go
uses: actions/setup-go@v5
with:
go-version: 1.20
cache: false

- name: Sort Imports
run: |
export PATH="$PATH:$GOPATH/bin"
go install github.com/incu6us/goimports-reviser@latest
find . -name "*.go" | xargs $GOPATH/bin/goimports-reviser
find . -name "*.go" | xargs goimports-reviser
- name: GolangCI-Lint
uses: golangci/golangci-lint-action@v6
Expand Down

0 comments on commit ed95315

Please sign in to comment.