Fix go cache in gofmt
This commit is contained in:
parent
2425c9721b
commit
d8e91cf66e
|
@ -14,17 +14,16 @@ jobs:
|
||||||
name: Run gofmt
|
name: Run gofmt
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- name: Check out code into the Go module directory
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
show-progress: false
|
||||||
|
|
||||||
- name: Set up Go 1.22
|
- name: Set up Go 1.22
|
||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: "1.22"
|
go-version: "1.22"
|
||||||
id: go
|
cache-dependency-path: nebula/go.sum
|
||||||
|
|
||||||
- name: Check out code into the Go module directory
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
with:
|
|
||||||
show-progress: false
|
|
||||||
|
|
||||||
- name: Install goimports
|
- name: Install goimports
|
||||||
working-directory: nebula
|
working-directory: nebula
|
||||||
|
|
Loading…
Reference in New Issue