Skip to content

Commit ecb9901

Browse files
authored
Merge branch 'main' into update-connections-to-handle-negative-numbers
2 parents bfbf604 + 95894c0 commit ecb9901

File tree

10 files changed

+20
-24
lines changed

10 files changed

+20
-24
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,18 +32,14 @@ jobs:
3232
runs-on: ubuntu-24.04
3333
permissions:
3434
contents: read
35-
strategy:
36-
fail-fast: false
37-
matrix:
38-
go-version: ["1.22", "1.23", stable]
3935
steps:
4036
- name: Checkout Repository
4137
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
4238

4339
- name: Setup Golang Environment
44-
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
40+
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
4541
with:
46-
go-version: ${{ matrix.go-version }}
42+
go-version-file: go.mod
4743

4844
- name: Run Unit Tests
4945
run: make unit-test
@@ -100,15 +96,15 @@ jobs:
10096
if: ${{ github.event_name == 'push' }}
10197

10298
- name: Setup Golang Environment
103-
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
99+
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
104100
with:
105-
go-version: stable
101+
go-version-file: go.mod
106102
if: ${{ github.ref_type == 'tag' }}
107103

108104
- name: Run GoReleaser
109105
uses: goreleaser/goreleaser-action@e435ccd777264be153ace6237001ef4d979d3a7a # v6.4.0
110106
with:
111-
version: v2.12.3 # renovate: datasource=github-tags depName=goreleaser/goreleaser
107+
version: v2.12.5 # renovate: datasource=github-tags depName=goreleaser/goreleaser
112108
args: release --clean
113109
env:
114110
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/codeql-analysis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,14 @@ jobs:
5151
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
5252

5353
- name: Setup Golang Environment
54-
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
54+
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
5555
with:
5656
go-version: stable
5757
if: matrix.language == 'go'
5858

5959
# Initializes the CodeQL tools for scanning.
6060
- name: Initialize CodeQL
61-
uses: github/codeql-action/init@3599b3baa15b485a2e49ef411a7a4bb2452e7f93 # v3.30.5
61+
uses: github/codeql-action/init@a8d1ac45b9a34d11fe398d5503176af0d06b303e # v3.30.7
6262
with:
6363
languages: ${{ matrix.language }}
6464
build-mode: ${{ matrix.build-mode }}
@@ -70,6 +70,6 @@ jobs:
7070
# queries: security-extended,security-and-quality
7171

7272
- name: Perform CodeQL Analysis
73-
uses: github/codeql-action/analyze@3599b3baa15b485a2e49ef411a7a4bb2452e7f93 # v3.30.5
73+
uses: github/codeql-action/analyze@a8d1ac45b9a34d11fe398d5503176af0d06b303e # v3.30.7
7474
with:
7575
category: "/language:${{matrix.language}}"

.github/workflows/lint.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ jobs:
2828
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2929

3030
- name: Setup Golang Environment
31-
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
31+
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
3232
with:
3333
go-version: stable
3434

3535
- name: Lint Go
3636
uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 # v8.0.0
3737
with:
38-
version: v2.4.0 # renovate: datasource=github-tags depName=golangci/golangci-lint
38+
version: v2.5.0 # renovate: datasource=github-tags depName=golangci/golangci-lint
3939

4040
actionlint:
4141
name: Actionlint
@@ -45,7 +45,7 @@ jobs:
4545
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
4646

4747
- name: Lint Actions
48-
uses: reviewdog/action-actionlint@e37e2ca68a70112d21e135229272da28ce2d0d5a # v1.66.1
48+
uses: reviewdog/action-actionlint@95395aac8c053577d0bc67eb7b74936c660c6f66 # v1.67.0
4949
with:
5050
actionlint_flags: -shellcheck ""
5151

.github/workflows/notifications.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
actions: read # for 8398a7/action-slack
2424
steps:
2525
- name: Data
26-
uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0
26+
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
2727
continue-on-error: true
2828
id: data
2929
with:

.github/workflows/scorecard.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
persist-credentials: false
3232

3333
- name: "Run analysis"
34-
uses: ossf/scorecard-action@05b42c624433fc40578a4040d5cf5e36ddca8cde # v2.4.2
34+
uses: ossf/scorecard-action@4eaacf0543bb3f2c246792bd56e8cdeffafb205a # v2.4.3
3535
with:
3636
results_file: results.sarif
3737
results_format: sarif
@@ -57,6 +57,6 @@ jobs:
5757

5858
# Upload the results to GitHub's code scanning dashboard.
5959
- name: "Upload to code-scanning"
60-
uses: github/codeql-action/upload-sarif@3599b3baa15b485a2e49ef411a7a4bb2452e7f93 # v3.30.5
60+
uses: github/codeql-action/upload-sarif@a8d1ac45b9a34d11fe398d5503176af0d06b303e # v3.30.7
6161
with:
6262
sarif_file: results.sarif

.github/workflows/stale.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
pull-requests: write # for actions/stale to close stale PRs
1414
runs-on: ubuntu-24.04
1515
steps:
16-
- uses: actions/stale@3a9db7e6a41a89f618792c92c0e97cc736e1b13f # v10.0.0
16+
- uses: actions/stale@5f858e3efba33a5ca4407a664cc011ad407f2008 # v10.1.0
1717
with:
1818
repo-token: ${{ secrets.GITHUB_TOKEN }}
1919
stale-issue-message: "This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days."

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ repos:
2424
- id: detect-private-key
2525

2626
- repo: https://github.com/golangci/golangci-lint
27-
rev: v2.4.0
27+
rev: v2.5.0
2828
hooks:
2929
- id: golangci-lint-full
3030

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# renovate: datasource=github-tags depName=golangci/golangci-lint
2-
GOLANGCI_LINT_VERSION = v2.4.0
2+
GOLANGCI_LINT_VERSION = v2.5.0
33

44
test: unit-test test-integration test-integration-no-stream-block clean
55

client/nginx.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1002,7 +1002,7 @@ func determineUpdates(updatedServers []UpstreamServer, nginxServers []UpstreamSe
10021002
}
10031003
}
10041004

1005-
return
1005+
return toAdd, toRemove, toUpdate
10061006
}
10071007

10081008
func (client *NginxClient) getIDOfHTTPServer(ctx context.Context, upstream string, name string) (int, error) {
@@ -1376,7 +1376,7 @@ func determineStreamUpdates(updatedServers []StreamUpstreamServer, nginxServers
13761376
}
13771377
}
13781378

1379-
return
1379+
return toAdd, toRemove, toUpdate
13801380
}
13811381

13821382
// GetStats gets process, slab, connection, request, ssl, zone, stream zone, upstream and stream upstream related stats from the NGINX Plus API.

docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# syntax=docker/dockerfile:1.18
1+
# syntax=docker/dockerfile:1.19
22
FROM debian:12-slim
33

44
LABEL maintainer="NGINX Docker Maintainers <[email protected]>"

0 commit comments

Comments
 (0)