mirror of
https://github.com/agresdominik/ci-pipelines.git
synced 2026-07-21 23:30:55 +00:00
fix(languages): gitea runner input bug fix
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user