2222 runs-on : ubuntu-latest
2323 steps :
2424 - name : Checkout code
25- uses : actions/checkout@v3
25+ uses : actions/checkout@v4
2626 - name : Run golangci-lint
27- uses : golangci/golangci-lint-action@v2
27+ uses : golangci/golangci-lint-action@v3
2828 with :
2929 version : latest
3030 args : --timeout=30m
3333 name : Test
3434 strategy :
3535 matrix :
36- go-version : [ 1.20.x, 1.21 .x ]
36+ go-version : [ 1.22 .x ]
3737 platform : [ ubuntu-latest, macos-latest, windows-latest ]
3838 runs-on : ${{ matrix.platform }}
3939 steps :
4242 with :
4343 go-version : ${{ matrix.go-version }}
4444 - name : Checkout code
45- uses : actions/checkout@v3
45+ uses : actions/checkout@v4
4646 - name : Run tests with coverage
4747 run : go test -shuffle=on -v -race -coverprofile=coverage -covermode=atomic
4848 - name : Upload coverage report to Codecov
5555 name : Postgres
5656 strategy :
5757 matrix :
58- go-version : [ 1.20.x, 1.21 .x ]
58+ go-version : [ 1.22 .x ]
5959 platform : [ ubuntu-latest ]
6060 runs-on : ${{ matrix.platform }}
6161 services :
7676 with :
7777 go-version : ${{ matrix.go-version }}
7878 - name : Checkout code
79- uses : actions/checkout@v3
79+ uses : actions/checkout@v4
8080 - name : Run tests with coverage
8181 run : go test -shuffle=on -v -race -coverprofile=coverage -covermode=atomic ./postgres
8282 env :
9595 name : Redis
9696 strategy :
9797 matrix :
98- go-version : [ 1.20.x, 1.21 .x ]
98+ go-version : [ 1.22 .x ]
9999 platform : [ ubuntu-latest ]
100100 runs-on : ${{ matrix.platform }}
101101 services :
@@ -114,7 +114,7 @@ jobs:
114114 with :
115115 go-version : ${{ matrix.go-version }}
116116 - name : Checkout code
117- uses : actions/checkout@v3
117+ uses : actions/checkout@v4
118118 - name : Run tests with coverage
119119 run : go test -shuffle=on -v -race -coverprofile=coverage -covermode=atomic ./redis
120120 env :
@@ -130,7 +130,7 @@ jobs:
130130 name : MySQL
131131 strategy :
132132 matrix :
133- go-version : [ 1.20.x, 1.21 .x ]
133+ go-version : [ 1.22 .x ]
134134 platform : [ ubuntu-20.04 ]
135135 runs-on : ${{ matrix.platform }}
136136 steps :
@@ -141,7 +141,7 @@ jobs:
141141 with :
142142 go-version : ${{ matrix.go-version }}
143143 - name : Checkout code
144- uses : actions/checkout@v3
144+ uses : actions/checkout@v4
145145 - name : Run tests with coverage
146146 run : go test -shuffle=on -v -race -coverprofile=coverage -covermode=atomic ./mysql
147147 env :
@@ -159,7 +159,7 @@ jobs:
159159 name : Mongo
160160 strategy :
161161 matrix :
162- go-version : [ 1.20.x, 1.21 .x ]
162+ go-version : [ 1.22 .x ]
163163 platform : [ ubuntu-latest ]
164164 runs-on : ${{ matrix.platform }}
165165 services :
@@ -181,7 +181,7 @@ jobs:
181181 with :
182182 go-version : ${{ matrix.go-version }}
183183 - name : Checkout code
184- uses : actions/checkout@v3
184+ uses : actions/checkout@v4
185185 - name : Run tests with coverage
186186 run : go test -shuffle=on -v -race -coverprofile=coverage -covermode=atomic ./mongo
187187 env :
@@ -196,7 +196,7 @@ jobs:
196196 name : SQLite
197197 strategy :
198198 matrix :
199- go-version : [ 1.20.x, 1.21 .x ]
199+ go-version : [ 1.22 .x ]
200200 platform : [ ubuntu-latest ]
201201 runs-on : ${{ matrix.platform }}
202202 steps :
@@ -205,7 +205,7 @@ jobs:
205205 with :
206206 go-version : ${{ matrix.go-version }}
207207 - name : Checkout code
208- uses : actions/checkout@v3
208+ uses : actions/checkout@v4
209209 - name : Run tests with coverage
210210 run : go test -shuffle=on -v -race -coverprofile=coverage -covermode=atomic ./sqlite
211211 - name : Upload coverage report to Codecov
0 commit comments