Skip to content

Commit c02fa20

Browse files
authored
Merge branch 'master' into redis#3139-add-encoding-BinaryUnmarshaler-scan
2 parents 064f534 + 7d55118 commit c02fa20

File tree

31 files changed

+813
-81
lines changed

31 files changed

+813
-81
lines changed

Diff for: .github/workflows/build.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Go
22

33
on:
44
push:
5-
branches: [master, v9]
5+
branches: [master, v9, v9.7]
66
pull_request:
7-
branches: [master, v9]
7+
branches: [master, v9, v9.7]
88

99
permissions:
1010
contents: read

Diff for: .github/workflows/golangci-lint.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,13 @@ on:
1212

1313
permissions:
1414
contents: read
15+
pull-requests: read # for golangci/golangci-lint-action to fetch pull requests
1516

1617
jobs:
1718
golangci:
18-
permissions:
19-
contents: read # for actions/checkout to fetch code
20-
pull-requests: read # for golangci/golangci-lint-action to fetch pull requests
2119
name: lint
2220
runs-on: ubuntu-latest
2321
steps:
2422
- uses: actions/checkout@v4
2523
- name: golangci-lint
26-
uses: golangci/golangci-lint-action@v6
24+
uses: golangci/golangci-lint-action@v6.5.0

Diff for: .github/workflows/spellcheck.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
- name: Checkout
99
uses: actions/checkout@v4
1010
- name: Check Spelling
11-
uses: rojopolis/spellcheck-github-actions@0.46.0
11+
uses: rojopolis/spellcheck-github-actions@0.47.0
1212
with:
1313
config_path: .github/spellcheck-settings.yml
1414
task_name: Markdown

Diff for: .gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ testdata/*
55
*.tar.gz
66
*.dic
77
redis8tests.sh
8+
.vscode

Diff for: .golangci.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
run:
2-
concurrency: 8
3-
deadline: 5m
2+
timeout: 5m
43
tests: false

Diff for: command.go

+1-2
Original file line numberDiff line numberDiff line change
@@ -5492,8 +5492,6 @@ func (cmd *InfoCmd) readReply(rd *proto.Reader) error {
54925492

54935493
section := ""
54945494
scanner := bufio.NewScanner(strings.NewReader(val))
5495-
moduleRe := regexp.MustCompile(`module:name=(.+?),(.+)$`)
5496-
54975495
for scanner.Scan() {
54985496
line := scanner.Text()
54995497
if strings.HasPrefix(line, "#") {
@@ -5504,6 +5502,7 @@ func (cmd *InfoCmd) readReply(rd *proto.Reader) error {
55045502
cmd.val[section] = make(map[string]string)
55055503
} else if line != "" {
55065504
if section == "Modules" {
5505+
moduleRe := regexp.MustCompile(`module:name=(.+?),(.+)$`)
55075506
kv := moduleRe.FindStringSubmatch(line)
55085507
if len(kv) == 3 {
55095508
cmd.val[section][kv[1]] = kv[2]

0 commit comments

Comments
 (0)