Skip to content

Commit e8d6268

Browse files
Update performance workflow to remove default go version and simplify version handling
The commit removes the default 'stable' value from the go-version input parameter in the performance workflow and simplifies the version handling in the setup-go action to use the input directly without fallback to 'stable'. This ensures consistent version usage across the workflow.
1 parent 8a867b4 commit e8d6268

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/performance.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
go-version:
88
required: true
99
type: string
10+
default: 'stable'
1011
schedule:
1112
- cron: '0 0 * * *'
1213

@@ -49,7 +50,7 @@ jobs:
4950
steps:
5051
- uses: actions/setup-go@v6
5152
with:
52-
go-version: ${{ inputs.go-version || "stable" }}
53+
go-version: ${{ inputs.go-version }}
5354
- uses: actions/checkout@v4
5455
- run: go build -o perf-test-suite ./test/performance-test-suite/cmd/perf-test/
5556
- name: Run performance tests

0 commit comments

Comments
 (0)