fix(languages): gitea runner input bug fix

This commit is contained in:
2026-06-05 17:53:08 +02:00
parent 1325e3040a
commit 202aa22bbb
5 changed files with 24 additions and 8 deletions
+6 -2
View File
@@ -16,12 +16,14 @@ jobs:
fmt:
name: gofmt
runs-on: ubuntu-latest
env:
GO_VERSION_FILE: ${{ inputs.go-version-file }}
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: ${{ inputs.go-version-file }}
go-version-file: ${{ env.GO_VERSION_FILE }}
cache: true
- name: Check formatting
@@ -40,12 +42,14 @@ jobs:
runs-on: ubuntu-latest
needs: fmt
if: ${{ inputs.run-vet }}
env:
GO_VERSION_FILE: ${{ inputs.go-version-file }}
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: ${{ inputs.go-version-file }}
go-version-file: ${{ env.GO_VERSION_FILE }}
cache: true
- name: go vet