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@v6
1616
17- - name : Determine Go version from go.mod
18- run : echo "GO_VERSION=$(grep "go 1." go.mod | cut -d " " -f 2 | cut -d "." -f 1,2)" >> $GITHUB_ENV
19-
2017 - uses : actions/setup-go@v6
2118 with :
22- go-version : ${{ env.GO_VERSION }}
19+ go-version-file : ' go.mod '
2320
2421 - name : Run linters
2522 run : make lint
Original file line number Diff line number Diff line change 1313 with :
1414 fetch-depth : 0
1515
16- - name : Determine Go version from go.mod
17- run : echo "GO_VERSION=$(grep "go 1." go.mod | cut -d " " -f 2 | cut -d "." -f 1,2)" >> $GITHUB_ENV
18-
1916 - uses : actions/setup-go@v6
2017 with :
21- go-version : ${{ env.GO_VERSION }}
18+ go-version-file : ' go.mod '
2219
2320 - name : Login to Quay.io
2421 uses : docker/login-action@v3
Original file line number Diff line number Diff line change 1414 steps :
1515 - uses : actions/checkout@v6
1616
17- - name : Determine Go version from go.mod
18- run : echo "GO_VERSION=$(grep "go 1." go.mod | cut -d " " -f 2 | cut -d "." -f 1,2)" >> $GITHUB_ENV
19-
2017 - uses : actions/setup-go@v6
2118 with :
22- go-version : ${{ env.GO_VERSION }}
19+ go-version-file : ' go.mod '
2320
2421 - name : Run tests
2522 run : make test
You can’t perform that action at this time.
0 commit comments