Skip to content

Commit da2ceda

Browse files
chore(github-actions): update github actions (#686)
* chore(github-actions): update github actions * chore: configure SonarQube integration in CI pipeline Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de> --------- Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Jan-Otto Kröpke <mail@jkroepke.de>
1 parent c1f0086 commit da2ceda

File tree

5 files changed

+11
-12
lines changed

5 files changed

+11
-12
lines changed

.github/workflows/ci.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
permissions:
1919
contents: read
2020
steps:
21-
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
21+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
2222

2323
- uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0
2424
with:
@@ -54,7 +54,7 @@ jobs:
5454
permissions:
5555
contents: read
5656
steps:
57-
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
57+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
5858
with:
5959
fetch-depth: 0
6060

@@ -92,7 +92,7 @@ jobs:
9292
permissions:
9393
contents: read
9494
steps:
95-
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
95+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
9696
- uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0
9797
with:
9898
go-version-file: 'go.mod'
@@ -101,10 +101,10 @@ jobs:
101101
- run: go mod tidy -diff
102102

103103
- name: golangci-lint
104-
uses: golangci/golangci-lint-action@e7fa5ac41e1cf5b7d48e45e42232ce7ada589601 # v9.1.0
104+
uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 # v9.2.0
105105
with:
106106
# renovate: github=golangci/golangci-lint
107-
version: v2.6.2
107+
version: v2.7.1
108108
args: "--max-same-issues=0"
109109

110110
super-lint:
@@ -114,7 +114,7 @@ jobs:
114114
contents: read
115115
steps:
116116
- name: Checkout Code
117-
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
117+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
118118
with:
119119
fetch-depth: 0
120120

@@ -156,7 +156,7 @@ jobs:
156156
id-token: write
157157
attestations: write
158158
steps:
159-
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
159+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
160160
with:
161161
fetch-depth: 0
162162

.github/workflows/stale.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
stale:
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/stale@5f858e3efba33a5ca4407a664cc011ad407f2008 # v10.1.0
15+
- uses: actions/stale@997185467fa4f803885201cee163a9f38240193d # v10.1.1
1616
with:
1717
stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.'
1818
days-before-stale: 30

.github/workflows/wiki.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ jobs:
1717
runs-on: ubuntu-latest
1818

1919
steps:
20-
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
21-
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
20+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
21+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
2222
with:
2323
repository: ${{ github.repository }}.wiki
2424
path: wiki.git

internal/openvpn/passthrough.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,6 @@ func (c *Client) setupUNIXSocketPermissions() error {
299299
}
300300
}
301301

302-
//nolint:gosec
303302
if err := os.Chmod(c.conf.OpenVPN.Passthrough.Address.Path, os.FileMode(c.conf.OpenVPN.Passthrough.SocketMode)); err != nil {
304303
return fmt.Errorf("error chmod: %w", err)
305304
}

internal/openvpn/passthrough_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ func TestPassThroughFull(t *testing.T) {
358358
permission, err := testutils.GetPermissionsOfFile(tc.conf.OpenVPN.Passthrough.Address.Path)
359359
require.NoError(t, err)
360360

361-
assert.Equal(t, os.FileMode(tc.conf.OpenVPN.Passthrough.SocketMode).String(), permission) //nolint:gosec
361+
assert.Equal(t, os.FileMode(tc.conf.OpenVPN.Passthrough.SocketMode).String(), permission)
362362
} else {
363363
testutils.SendMessagef(t, passThroughConn, " quit ")
364364
require.NoError(t, passThroughConn.Close())

0 commit comments

Comments
 (0)