Skip to content

Commit cc8861c

Browse files
author
Feng Zhou
committed
Merge branch 'master' of https://github.com/go-redis/redis
2 parents f8b88dc + 2fdda42 commit cc8861c

File tree

129 files changed

+10711
-3312
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

129 files changed

+10711
-3312
lines changed

.github/FUNDING.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
custom: ['https://uptrace.dev']
1+
custom: ['https://uptrace.dev/sponsor']

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
blank_issues_enabled: false
1+
blank_issues_enabled: true
22
contact_links:
3-
- name: Discord
4-
url: https://discord.gg/rWtp5Aj
5-
about: Ask a question at Discord
3+
- name: Discussions
4+
url: https://github.com/go-redis/redis/discussions
5+
about: Ask a question via GitHub Discussions

.github/dependabot.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: gomod
4+
directory: /
5+
schedule:
6+
interval: weekly
7+
- package-ecosystem: github-actions
8+
directory: /
9+
schedule:
10+
interval: weekly

.github/workflows/build.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Go
2+
3+
on:
4+
push:
5+
branches: [master, v9]
6+
pull_request:
7+
branches: [master, v9]
8+
9+
jobs:
10+
build:
11+
name: build
12+
runs-on: ubuntu-latest
13+
strategy:
14+
fail-fast: false
15+
matrix:
16+
go-version: [1.17.x, 1.18.x]
17+
18+
services:
19+
redis:
20+
image: redis
21+
options: >-
22+
--health-cmd "redis-cli ping" --health-interval 10s --health-timeout 5s --health-retries 5
23+
ports:
24+
- 6379:6379
25+
26+
steps:
27+
- name: Set up ${{ matrix.go-version }}
28+
uses: actions/setup-go@v3
29+
with:
30+
go-version: ${{ matrix.go-version }}
31+
32+
- name: Checkout code
33+
uses: actions/checkout@v3
34+
35+
- name: Test
36+
run: make test

.github/workflows/commitlint.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: Lint Commit Messages
2+
on: [pull_request]
3+
4+
jobs:
5+
commitlint:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: actions/checkout@v3
9+
with:
10+
fetch-depth: 0
11+
- uses: wagoid/commitlint-github-action@v5

.github/workflows/go.yml

Lines changed: 0 additions & 50 deletions
This file was deleted.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: golangci-lint
2+
3+
on:
4+
push:
5+
tags:
6+
- v*
7+
branches:
8+
- master
9+
- main
10+
- v9
11+
pull_request:
12+
13+
jobs:
14+
golangci:
15+
name: lint
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: actions/checkout@v3
19+
- name: golangci-lint
20+
uses: golangci/golangci-lint-action@v3

.github/workflows/release.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Releases
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*'
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v3
13+
- uses: ncipollo/release-action@v1
14+
with:
15+
body:
16+
Please refer to
17+
[CHANGELOG.md](https://github.com/go-redis/redis/blob/master/CHANGELOG.md) for details

.golangci.yml

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,3 @@ run:
22
concurrency: 8
33
deadline: 5m
44
tests: false
5-
linters:
6-
enable-all: true
7-
disable:
8-
- funlen
9-
- gochecknoglobals
10-
- gochecknoinits
11-
- gocognit
12-
- goconst
13-
- godox
14-
- gosec
15-
- maligned
16-
- wsl
17-
- gomnd
18-
- goerr113
19-
- exhaustive
20-
- nestif
21-
- nlreturn
22-
- exhaustivestruct
23-
- wrapcheck
24-
- errorlint
File renamed without changes.

0 commit comments

Comments
 (0)