@@ -41,19 +41,19 @@ jobs:
4141 max-parallel : 3
4242 matrix :
4343 os : [ 'ubuntu-22.04' ]
44- go : [ '1.20' ]
44+ go-version : [1.21 ]
4545 runs-on : ${{ matrix.os }}
4646 name : Build
4747 steps :
4848 - name : Checkout
49- uses : actions/checkout@v3
49+ uses : actions/checkout@v4
5050 with :
5151 fetch-depth : 0
5252
5353 - name : Set up go
54- uses : actions/setup-go@v4.0 .0
54+ uses : actions/setup-go@v4.1 .0
5555 with :
56- go-version : ${{ matrix.go }}
56+ go-version : ${{ matrix.go-version }}
5757
5858 - run : |
5959 go version
@@ -72,13 +72,18 @@ jobs:
7272 restore-keys : |
7373 ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/tools/go.sum') }}
7474
75+ - name : Install tools
76+ run : |
77+ make install-tools
78+ shell : bash
79+
7580 - name : Build
7681 run : |
7782 make build
7883 shell : bash
7984
8085 - name : Install GoReleaser
81- uses : goreleaser/goreleaser-action@v4
86+ uses : goreleaser/goreleaser-action@v5
8287 with :
8388 install-only : true
8489
@@ -93,19 +98,19 @@ jobs:
9398 max-parallel : 2
9499 matrix :
95100 os : [ 'ubuntu-22.04' ]
96- go : [ '1.20' ]
101+ go-version : [1.21 ]
97102 runs-on : ${{ matrix.os }}
98103 name : Run Tests
99104 steps :
100105 - name : Checkout
101- uses : actions/checkout@v3
106+ uses : actions/checkout@v4
102107 with :
103108 fetch-depth : 0
104109
105110 - name : Set up go
106- uses : actions/setup-go@v4.0 .0
111+ uses : actions/setup-go@v4.1 .0
107112 with :
108- go-version : ${{ matrix.go }}
113+ go-version : ${{ matrix.go-version }}
109114
110115 - run : |
111116 go version
@@ -140,23 +145,28 @@ jobs:
140145 max-parallel : 2
141146 matrix :
142147 os : [ 'ubuntu-22.04' ]
143- go : [ '1.20' ]
148+ go-version : [1.21 ]
144149 runs-on : ${{ matrix.os }}
145150 name : Run linters
146151 steps :
147152 - name : Checkout
148- uses : actions/checkout@v3
153+ uses : actions/checkout@v4
149154 with :
150155 fetch-depth : 0
151156
152157 - name : Set up go
153- uses : actions/setup-go@v4.0 .0
158+ uses : actions/setup-go@v4.1 .0
154159 with :
155- go-version : ${{ matrix.go }}
160+ go-version : ${{ matrix.go-version }}
156161 - run : |
157162 go version
158163 shell: bash
159164
165+ - name : Install tools
166+ run : |
167+ make install-tools
168+ shell : bash
169+
160170 - name : Vet
161171 run : |
162172 make vet
@@ -192,19 +202,19 @@ jobs:
192202 max-parallel : 1
193203 matrix :
194204 os : [ 'ubuntu-22.04' ]
195- go : [ '1.20' ]
205+ go-version : [1.21 ]
196206 runs-on : ${{ matrix.os }}
197207 name : Quality reports
198208 steps :
199209 - name : Checkout
200- uses : actions/checkout@v3
210+ uses : actions/checkout@v4
201211 with :
202212 fetch-depth : 0
203213
204214 - name : Set up go
205- uses : actions/setup-go@v4.0 .0
215+ uses : actions/setup-go@v4.1 .0
206216 with :
207- go-version : ${{ matrix.go }}
217+ go-version : ${{ matrix.go-version }}
208218 - run : |
209219 go version
210220 shell: bash
0 commit comments