From f6f5449f9e077552a0275208b6c3e78463844b19 Mon Sep 17 00:00:00 2001 From: "k.petremann" Date: Thu, 13 Aug 2026 13:59:10 +0200 Subject: [PATCH 1/2] ci: bumping all gh actions --- .github/workflows/ci.yml | 10 +++++----- .github/workflows/goreleaser.yml | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b4b1700..c000067 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,15 +11,15 @@ jobs: name: "Lint and test" runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Set up Go - uses: actions/setup-go@v5 + uses: actions/setup-go@v7 with: go-version-file: 'go.mod' - name: Run golangci-lint - uses: golangci/golangci-lint-action@v8 + uses: golangci/golangci-lint-action@v9 - name: Test run: go test -v ./... @@ -30,11 +30,11 @@ jobs: commitlint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: fetch-depth: 0 - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v6 with: node_version: 'latest' diff --git a/.github/workflows/goreleaser.yml b/.github/workflows/goreleaser.yml index 5244b2e..1033f83 100644 --- a/.github/workflows/goreleaser.yml +++ b/.github/workflows/goreleaser.yml @@ -14,7 +14,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v6 with: fetch-depth: 0 - @@ -23,12 +23,12 @@ jobs: - name: Set up Go - uses: actions/setup-go@v5 + uses: actions/setup-go@v7 with: go-version-file: 'go.mod' - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v4 + uses: goreleaser/goreleaser-action@v7 with: distribution: goreleaser version: latest From de6073f3badc1f7dee9b1357a196921321cc8c90 Mon Sep 17 00:00:00 2001 From: "k.petremann" Date: Thu, 13 Aug 2026 14:33:33 +0200 Subject: [PATCH 2/2] ci: fix false error --- internal/api/router/endpoints.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/internal/api/router/endpoints.go b/internal/api/router/endpoints.go index c872082..a679465 100644 --- a/internal/api/router/endpoints.go +++ b/internal/api/router/endpoints.go @@ -73,7 +73,7 @@ func (m *Manager) getAFKEnabled(w http.ResponseWriter, r *http.Request) { return } - _, _ = w.Write(out) + _, _ = w.Write(out) //nolint:gosec // G705 false positive: hostname is only used as a repository map key, never echoed in the response } // getDeviceOpenConfig endpoint returns OpenConfig JSON for one or all devices. @@ -98,7 +98,7 @@ func (m *Manager) getDeviceOpenConfig(w http.ResponseWriter, r *http.Request) { w.WriteHeader(http.StatusInternalServerError) return } - _, _ = w.Write(cfg) + _, _ = w.Write(cfg) //nolint:gosec // G705 false positive: hostname is only used as a repository map key, never echoed in the response } // getDeviceIETFConfig endpoint returns Ietf JSON for one or all devices. @@ -123,7 +123,7 @@ func (m *Manager) getDeviceIETFConfig(w http.ResponseWriter, r *http.Request) { w.WriteHeader(http.StatusInternalServerError) return } - _, _ = w.Write(cfg) + _, _ = w.Write(cfg) //nolint:gosec // G705 false positive: hostname is only used as a repository map key, never echoed in the response } // getDeviceConfig endpoint returns Ietf & openconfig JSON for one or all devices. @@ -148,7 +148,7 @@ func (m *Manager) getDeviceConfig(w http.ResponseWriter, r *http.Request) { w.WriteHeader(http.StatusInternalServerError) return } - _, _ = w.Write(cfg) + _, _ = w.Write(cfg) //nolint:gosec // G705 false positive: hostname is only used as a repository map key, never echoed in the response } // getLastReport returns the last or current report.