fix: fix tests and lintings
This commit is contained in:
parent
2aee47aa76
commit
6e1817c425
18 changed files with 61 additions and 37 deletions
4
.github/actions/acc_test/action.yaml
vendored
4
.github/actions/acc_test/action.yaml
vendored
|
|
@ -53,9 +53,9 @@ runs:
|
|||
- name: Install Go ${{ inputs.go-version }}
|
||||
uses: actions/setup-go@v6
|
||||
with:
|
||||
go-version: ${{ inputs.go-version }}
|
||||
check-latest: true
|
||||
# go-version: ${{ env.GO_VERSION }}
|
||||
go-version-file: 'go.mod'
|
||||
cache-dependency-path: "**/*.sum"
|
||||
|
||||
- name: Install go tools
|
||||
shell: bash
|
||||
|
|
|
|||
4
.github/actions/build/action.yaml
vendored
4
.github/actions/build/action.yaml
vendored
|
|
@ -26,9 +26,9 @@ runs:
|
|||
- name: Install Go ${{ inputs.go-version }}
|
||||
uses: actions/setup-go@v6
|
||||
with:
|
||||
go-version: ${{ inputs.go-version }}
|
||||
check-latest: true
|
||||
# go-version: ${{ env.GO_VERSION }}
|
||||
go-version-file: 'go.mod'
|
||||
cache-dependency-path: "**/*.sum"
|
||||
|
||||
- name: Install go tools
|
||||
shell: bash
|
||||
|
|
|
|||
10
.github/actions/setup-cache-go/action.yaml
vendored
10
.github/actions/setup-cache-go/action.yaml
vendored
|
|
@ -26,11 +26,15 @@ runs:
|
|||
uses: https://code.forgejo.org/actions/setup-go@v6
|
||||
id: go-version
|
||||
with:
|
||||
go-version: ${{ inputs.go-version }}
|
||||
check-latest: true # Always check for the latest patch release
|
||||
# go-version: ${{ inputs.go-version }}
|
||||
# check-latest: true # Always check for the latest patch release
|
||||
# go-version-file: "go.mod"
|
||||
# do not cache dependencies, we do this manually
|
||||
cache: false
|
||||
# cache: false
|
||||
# go-version: ${{ env.GO_VERSION }}
|
||||
go-version-file: 'go.mod'
|
||||
cache-dependency-path: "**/*.sum"
|
||||
|
||||
|
||||
- name: "Get go environment information"
|
||||
shell: bash
|
||||
|
|
|
|||
4
.github/workflows/ci.yaml
vendored
4
.github/workflows/ci.yaml
vendored
|
|
@ -40,7 +40,9 @@ jobs:
|
|||
- name: Setup Go
|
||||
uses: actions/setup-go@v6
|
||||
with:
|
||||
go-version: ${{ env.GO_VERSION }}
|
||||
# go-version: ${{ env.GO_VERSION }}
|
||||
go-version-file: 'go.mod'
|
||||
cache-dependency-path: "**/*.sum"
|
||||
|
||||
- name: Install go tools
|
||||
run: |
|
||||
|
|
|
|||
4
.github/workflows/publish.yaml
vendored
4
.github/workflows/publish.yaml
vendored
|
|
@ -46,7 +46,9 @@ jobs:
|
|||
- name: Setup Go
|
||||
uses: actions/setup-go@v6
|
||||
with:
|
||||
go-version: ${{ env.GO_VERSION }}
|
||||
# go-version: ${{ env.GO_VERSION }}
|
||||
go-version-file: 'go.mod'
|
||||
cache-dependency-path: "**/*.sum"
|
||||
|
||||
- name: Install go tools
|
||||
run: |
|
||||
|
|
|
|||
7
.github/workflows/release.yaml
vendored
7
.github/workflows/release.yaml
vendored
|
|
@ -22,10 +22,11 @@ jobs:
|
|||
with:
|
||||
# Allow goreleaser to access older tag information.
|
||||
fetch-depth: 0
|
||||
- uses: actions/setup-go@v5
|
||||
- uses: actions/setup-go@v6
|
||||
with:
|
||||
go-version-file: "go.mod"
|
||||
cache: true
|
||||
# go-version: ${{ env.GO_VERSION }}
|
||||
go-version-file: 'go.mod'
|
||||
cache-dependency-path: "**/*.sum"
|
||||
- name: Import GPG key
|
||||
uses: crazy-max/ghaction-import-gpg@v6
|
||||
id: import_gpg
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue