Skip to content

Commit 1ad741c

Browse files
authored
chore: update github.com/go-redis/redis to v8.11.5 (#50)
1 parent 802d6e5 commit 1ad741c

File tree

5 files changed

+77
-74
lines changed

5 files changed

+77
-74
lines changed

.github/workflows/go.yml

Lines changed: 13 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -11,35 +11,32 @@ jobs:
1111
name: Lint
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v2
14+
- name: Checkout code
15+
uses: actions/checkout@v3
1516
- name: Run golangci-lint
16-
uses: actions-contrib/golangci-lint@v1
17+
uses: golangci/golangci-lint-action@v3
18+
with:
19+
version: latest
20+
args: --timeout=30m
1721

1822
test:
1923
name: Test
2024
strategy:
2125
matrix:
22-
go-version: [1.13.x, 1.14.x, 1.15.x]
26+
go-version: [ 1.22.x, 1.23.x ]
2327
platform: [ubuntu-latest, macos-latest, windows-latest]
2428
runs-on: ${{ matrix.platform }}
2529
steps:
30+
- name: Checkout code
31+
uses: actions/checkout@v3
2632
- name: Install Go
27-
uses: actions/setup-go@v1
33+
uses: actions/setup-go@v4
2834
with:
2935
go-version: ${{ matrix.go-version }}
30-
- name: Checkout code
31-
uses: actions/checkout@v2
32-
- name: Run unit tests
33-
run: go test -v -race -coverprofile=coverage -covermode=atomic
36+
- name: Run tests with coverage
37+
run: go test -shuffle=on -v -race -coverprofile=coverage -covermode=atomic
3438
- name: Upload coverage report to Codecov
35-
uses: codecov/codecov-action@v1.0.6
39+
uses: codecov/codecov-action@v1.5.0
3640
with:
3741
file: ./coverage
3842
flags: unittests
39-
- name: Cache downloaded modules
40-
uses: actions/cache@v1
41-
with:
42-
path: ~/go/pkg/mod
43-
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
44-
restore-keys: |
45-
${{ runner.os }}-go-

.github/workflows/lsif.yml

Lines changed: 0 additions & 17 deletions
This file was deleted.

go.mod

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,15 @@ require (
1111
github.com/cupcake/rdb v0.0.0-20161107195141-43ba34106c76 // indirect
1212
github.com/edsrzf/mmap-go v1.0.0 // indirect
1313
github.com/go-macaron/inject v0.0.0-20200308113650-138e5925c53b // indirect
14-
github.com/go-redis/redis/v8 v8.4.0
14+
github.com/go-redis/redis/v8 v8.11.5
1515
github.com/go-sql-driver/mysql v1.4.1
1616
github.com/lib/pq v1.2.0
1717
github.com/pkg/errors v0.9.1 // indirect
1818
github.com/siddontang/go v0.0.0-20180604090527-bdc77568d726 // indirect
1919
github.com/siddontang/ledisdb v0.0.0-20190202134119-8ceb77e66a92
2020
github.com/siddontang/rdb v0.0.0-20150307021120-fc89ed2e418d // indirect
2121
github.com/smartystreets/goconvey v0.0.0-20190731233626-505e41936337
22+
github.com/stretchr/testify v1.6.1 // indirect
2223
github.com/unknwon/com v1.0.1
2324
golang.org/x/crypto v0.0.0-20201124201722-c8d3bf9c5392 // indirect
2425
google.golang.org/appengine v1.6.7 // indirect

0 commit comments

Comments
 (0)