Skip to content

Commit

Permalink
ci: fix format.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
loloicci committed Sep 11, 2023
1 parent 85847d5 commit 532767f
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v4
with: go-version 1.18
with:
go-version: 1.18
- name: Display go version
run: go version
- name: install tools
Expand All @@ -20,7 +21,7 @@ jobs:
go install github.com/incu6us/goimports-reviser/v3@v3.4.5
- uses: actions/cache@v3
with:
path: ${GOPATH}/bin
path: ${{ env.GOPATH }}/bin
key: ${{ runner.os }}-misspell-v0.3.4-goimports-reviser-v3.4.5

check-format:
Expand All @@ -33,6 +34,10 @@ jobs:
go-version: 1.18
- name: Display go version
run: go version
- uses: actions/cache@v3
with:
path: ${{ env.GOPATH }}/bin
key: ${{ runner.os }}-misspell-v0.3.4-goimports-reviser-v3.4.5
- name: Make Format
run: |
make format &&
Expand Down

0 comments on commit 532767f

Please sign in to comment.