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 11name : Test go extractor
22description : Run build, QL tests and optionally basic code sanity checks (formatting and generation)
33inputs :
4+ go-version :
5+ description : Which Go version to use for running the tests
6+ required : false
7+ default : ~1.22.0
48 run-code-checks :
59 description : Whether to run formatting, code and qhelp generation checks
610 required : false
711 default : false
812runs :
913 using : composite
1014 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-
1915 - name : Set up Go
2016 uses : actions/setup-go@v5
2117 with :
22- go-version : ${{ env.GO_VERSION }}
18+ go-version : ${{ inputs.go-version }}
2319 cache : false
2420 id : go
2521
You can’t perform that action at this time.
0 commit comments