File tree Expand file tree Collapse file tree
templates/github/workflows Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2828 steps :
2929 - name : Install Go stable
3030 if : env.GO_VERSION != 'tip'
31- uses : actions/setup-go@v3
31+ uses : actions/setup-go@v4
3232 with :
3333 go-version : ${{ env.GO_VERSION }}
3434
@@ -43,12 +43,12 @@ jobs:
4343 echo "PATH=$HOME/go/bin:$HOME/sdk/gotip/bin/:$PATH" >> $GITHUB_ENV
4444
4545 - name : Checkout code
46- uses : actions/checkout@v2
46+ uses : actions/checkout@v3
4747 with :
4848 ref : ${{ (github.event.inputs.new != '') && github.event.inputs.new || github.event.ref }}
4949
5050 - name : Go cache
51- uses : actions/cache@v2
51+ uses : actions/cache@v3
5252 with :
5353 # In order:
5454 # * Module download cache
@@ -61,15 +61,15 @@ jobs:
6161 ${{ runner.os }}-go-cache
6262
6363 - name : Restore benchstat
64- uses : actions/cache@v2
64+ uses : actions/cache@v3
6565 with :
6666 path : ~/go/bin/benchstat
6767 key : ${{ runner.os }}-benchstat-legacy
6868
6969 - name : Restore base benchmark result
7070 id : base-benchmark
7171 if : env.CACHE_BENCHMARK == 'on'
72- uses : actions/cache@v2
72+ uses : actions/cache@v3
7373 with :
7474 path : |
7575 bench-master.txt
Original file line number Diff line number Diff line change @@ -13,11 +13,11 @@ jobs:
1313 runs-on : ubuntu-latest
1414 steps :
1515 - name : Checkout code
16- uses : actions/checkout@v2
16+ uses : actions/checkout@v3
1717 with :
1818 path : pr
1919 - name : Checkout base code
20- uses : actions/checkout@v2
20+ uses : actions/checkout@v3
2121 with :
2222 ref : ${{ github.event.pull_request.base.sha }}
2323 path : base
Original file line number Diff line number Diff line change 1616 steps :
1717 - name : Install Go stable
1818 if : env.GO_VERSION != 'tip'
19- uses : actions/setup-go@v3
19+ uses : actions/setup-go@v4
2020 with :
2121 go-version : ${{ env.GO_VERSION }}
2222 - name : Install Go tip
2929 ~/sdk/gotip/bin/go version
3030 echo "PATH=$HOME/go/bin:$HOME/sdk/gotip/bin/:$PATH" >> $GITHUB_ENV
3131 - name : Checkout code
32- uses : actions/checkout@v2
32+ uses : actions/checkout@v3
3333 - name : Gorelease cache
34- uses : actions/cache@v2
34+ uses : actions/cache@v3
3535 with :
3636 path : |
3737 ~/go/bin/gorelease
Original file line number Diff line number Diff line change 1616 steps :
1717 - name : Install Go stable
1818 if : env.GO_VERSION != 'tip'
19- uses : actions/setup-go@v3
19+ uses : actions/setup-go@v4
2020 with :
2121 go-version : ${{ env.GO_VERSION }}
2222 - name : Install Go tip
2929 ~/sdk/gotip/bin/go version
3030 echo "PATH=$HOME/go/bin:$HOME/sdk/gotip/bin/:$PATH" >> $GITHUB_ENV
3131 - name : Checkout code
32- uses : actions/checkout@v2
32+ uses : actions/checkout@v3
3333 - name : Build artifacts
3434 run : |
3535 make release-assets
Original file line number Diff line number Diff line change 2424 steps :
2525 - name : Install Go stable
2626 if : env.GO_VERSION != 'tip'
27- uses : actions/setup-go@v3
27+ uses : actions/setup-go@v4
2828 with :
2929 go-version : ${{ env.GO_VERSION }}
3030 - name : Install Go tip
@@ -38,10 +38,10 @@ jobs:
3838 echo "PATH=$HOME/go/bin:$HOME/sdk/gotip/bin/:$PATH" >> $GITHUB_ENV
3939
4040 - name : Checkout code
41- uses : actions/checkout@v2
41+ uses : actions/checkout@v3
4242
4343 - name : Go cache
44- uses : actions/cache@v2
44+ uses : actions/cache@v3
4545 with :
4646 # In order:
4747 # * Module download cache
Original file line number Diff line number Diff line change @@ -21,12 +21,12 @@ jobs:
2121 test :
2222 strategy :
2323 matrix :
24- go-version : [ 1.18.x, 1.19.x, 1.20.x ]
24+ go-version : [ 1.18.x, 1.19.x, 1.20.x ]
2525 runs-on : ubuntu-latest
2626 steps :
2727 - name : Install Go stable
2828 if : matrix.go-version != 'tip'
29- uses : actions/setup-go@v3
29+ uses : actions/setup-go@v4
3030 with :
3131 go-version : ${{ matrix.go-version }}
3232
@@ -41,10 +41,10 @@ jobs:
4141 echo "PATH=$HOME/go/bin:$HOME/sdk/gotip/bin/:$PATH" >> $GITHUB_ENV
4242
4343 - name : Checkout code
44- uses : actions/checkout@v2
44+ uses : actions/checkout@v3
4545
4646 - name : Go cache
47- uses : actions/cache@v2
47+ uses : actions/cache@v3
4848 with :
4949 # In order:
5050 # * Module download cache
You can’t perform that action at this time.
0 commit comments