fix(languages): gitea runner input bug fix

This commit is contained in:
2026-06-05 17:53:08 +02:00
parent 1325e3040a
commit 04e7f949c1
5 changed files with 8 additions and 16 deletions
+2 -10
View File
@@ -29,19 +29,11 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: ${{ inputs.go-version-file }}
go-version-file: go.mod
cache: true
- name: Run tests
run: |
ARGS="-timeout ${{ inputs.timeout }}"
if [ "${{ inputs.run-race }}" = "true" ]; then
ARGS="$ARGS -race"
fi
if [ "${{ inputs.coverage }}" = "true" ]; then
ARGS="$ARGS -coverprofile=coverage.out -covermode=atomic"
fi
go test $ARGS ./...
run: go test -timeout 20m -race -coverprofile=coverage.out -covermode=atomic ./...
- name: Upload coverage report
if: ${{ inputs.coverage }}