File tree Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change 1
1
name : Test go extractor
2
2
description : Run build, QL tests and optionally basic code sanity checks (formatting and generation)
3
3
inputs :
4
+ go-version :
5
+ description : Which Go version to use for running the tests
6
+ required : false
7
+ default : ~1.22.0
4
8
run-code-checks :
5
9
description : Whether to run formatting, code and qhelp generation checks
6
10
required : false
7
11
default : false
8
12
runs :
9
13
using : composite
10
14
steps :
11
- - name : Get go version
12
- shell : bash
13
- run : |
14
- (
15
- echo -n "GO_VERSION="
16
- bazel run @rules_go//go -- version | sed 's/go version go\(.*\) .*/\1/'
17
- ) | tee -a "$GITHUB_ENV"
18
-
19
15
- name : Set up Go
20
16
uses : actions/setup-go@v5
21
17
with :
22
- go-version : ${{ env.GO_VERSION }}
18
+ go-version : ${{ inputs.go-version }}
23
19
cache : false
24
20
id : go
25
21
You can’t perform that action at this time.
0 commit comments