This commit is contained in:
@@ -24,16 +24,6 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
git config --global url."https://oauth2:${REGISTRY_PAT}@forgejo.riotpiao.com".insteadOf "https://forgejo.riotpiao.com"
|
git config --global url."https://oauth2:${REGISTRY_PAT}@forgejo.riotpiao.com".insteadOf "https://forgejo.riotpiao.com"
|
||||||
|
|
||||||
- name: cache go modules + build cache
|
|
||||||
# uses: actions/cache@v4
|
|
||||||
# with:
|
|
||||||
# path: |
|
|
||||||
~/.cache/go-build
|
|
||||||
~/go/pkg/mod
|
|
||||||
# key: # go-${{ runner.os }}-${{ hashFiles('go.sum') }}
|
|
||||||
# restore-keys: |
|
|
||||||
# go-${{ runner.os }}-
|
|
||||||
|
|
||||||
- name: gofmt
|
- name: gofmt
|
||||||
run: |
|
run: |
|
||||||
fmt_out="$(gofmt -l ./cmd ./internal)"
|
fmt_out="$(gofmt -l ./cmd ./internal)"
|
||||||
|
|||||||
Reference in New Issue
Block a user