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
@@ -24,17 +24,21 @@ jobs:
test:
name: go test
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: Run tests
env:
TIMEOUT: ${{ inputs.timeout }}
run: |
ARGS="-timeout ${{ inputs.timeout }}"
ARGS="-timeout $TIMEOUT"
if [ "${{ inputs.run-race }}" = "true" ]; then
ARGS="$ARGS -race"
fi