File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed
Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -26,14 +26,10 @@ jobs:
2626 python-version : " 3.10"
2727 # We need the Go version and Go cache location for the actions/cache step,
2828 # so the Go installation must happen before that.
29- - uses : actions/setup-go@v2
29+ - id : setup-go
30+ uses : actions/setup-go@v3
3031 with :
31- go-version : " 1.16"
32- - name : Store installed Go version
33- id : go-version
34- run : |
35- echo "::set-output name=version::"\
36- "$(go version | sed 's/^go version go\([0-9.]\+\) .*/\1/')"
32+ go-version : " 1.19"
3733 - name : Lookup Go cache directory
3834 id : go-cache
3935 run : |
4238 env :
4339 BASE_CACHE_KEY : " ${{ github.job }}-${{ runner.os }}-\
4440 py${{ steps.setup-python.outputs.python-version }}-\
45- go${{ steps.go-version .outputs.version }}-\
41+ go${{ steps.setup-go .outputs.go- version }}-\
4642 packer${{ steps.setup-env.outputs.packer-version }}-\
4743 tf${{ steps.setup-env.outputs.terraform-version }}-"
4844 with :
You can’t perform that action at this time.
0 commit comments