File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414 steps :
1515 - uses : actions/checkout@v4
1616
17- - uses : actions/setup-go@v5
17+ - name : Calculate go version
18+ id : vars
19+ run : echo "go_version=$(make go-version)" >> $GITHUB_OUTPUT
20+
21+ - name : Set up Go
22+ uses : actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # tag=v5.4.0
1823 with :
19- go-version : ' 1 '
24+ go-version : ${{ steps.vars.outputs.go_version }}
2025
2126 - run : |
2227 make lint
Original file line number Diff line number Diff line change 2727 env :
2828 GIT_SEQUENCE_EDITOR : ' /usr/bin/true'
2929
30- - uses : actions/setup-go@v5
30+ - name : Calculate go version
31+ id : vars
32+ run : echo "go_version=$(make go-version)" >> $GITHUB_OUTPUT
33+
34+ - name : Set up Go
35+ uses : actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # tag=v5.4.0
3136 with :
32- go-version : ' 1 '
37+ go-version : ${{ steps.vars.outputs.go_version }}
3338
3439 - name : Checking Go API Compatibility
3540 id : go-apidiff
Original file line number Diff line number Diff line change 1818 steps :
1919 - uses : actions/checkout@v4
2020
21- - uses : actions/setup-go@v5
21+ - name : Calculate go version
22+ id : vars
23+ run : echo "go_version=$(make go-version)" >> $GITHUB_OUTPUT
24+
25+ - name : Set up Go
26+ uses : actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # tag=v5.4.0
2227 with :
23- go-version : ${{ matrix.go-version }}
28+ go-version : ${{ steps.vars.outputs.go_version }}
2429
2530 - run : |
2631 make test
You can’t perform that action at this time.
0 commit comments