Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4284b22

Browse files
Bump golangci/golangci-lint-action from 6.3.1 to 6.5.0 (#67)
* Bump golangci/golangci-lint-action from 6.3.1 to 6.5.0Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 6.3.1 to 6.5.0.- [Release notes](https://github.com/golangci/golangci-lint-action/releases)- [Commits](golangci/golangci-lint-action@2e78893...2226d7c)---updated-dependencies:- dependency-name: golangci/golangci-lint-action dependency-type: direct:production update-type: version-update:semver-minor...Signed-off-by: dependabot[bot] <support@github.com>* fix CI and use Go v1.24---------Signed-off-by: dependabot[bot] <support@github.com>Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Co-authored-by: Sergey Vilgelm <sergey@vilgelm.com>
1 parentb59eca1 commit4284b22

File tree

6 files changed

+48
-44
lines changed

6 files changed

+48
-44
lines changed

‎.github/workflows/checks.yaml‎

Lines changed: 8 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -15,36 +15,20 @@ concurrency:
1515
cancel-in-progress:true
1616

1717
env:
18-
GO:"1.23"
18+
GO:"1.24"
1919

20-
jobs:
21-
CodeQL:
22-
runs-on:ubuntu-latest
23-
24-
permissions:
25-
security-events:write
26-
27-
steps:
28-
-name:Checkout repository
29-
uses:actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683# v4.2.2
30-
31-
-name:Initialize CodeQL
32-
uses:github/codeql-action/init@b56ba49b26e50535fa1e7f7db0f4f7b4bf65d80d# v3.28.10
33-
with:
34-
languages:go
35-
36-
-name:Perform CodeQL Analysis
37-
uses:github/codeql-action/analyze@b56ba49b26e50535fa1e7f7db0f4f7b4bf65d80d# v3.28.10
20+
permissions:read-all
3821

22+
jobs:
3923
UnitTests:
4024
runs-on:ubuntu-latest
4125

4226
steps:
4327
-name:Checkout repository
44-
uses:actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683#v4.2.2
28+
uses:actions/checkout@v4.2.2# immutable action, safe to use a version instead of hashtag
4529

4630
-name:Install Go
47-
uses:actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34#v5.3.0
31+
uses:actions/setup-go@v5.3.0# immutable action, safe to use a version instead of hashtag
4832
with:
4933
go-version:${{ env.GO }}
5034

@@ -61,14 +45,14 @@ jobs:
6145

6246
steps:
6347
-name:Checkout repository
64-
uses:actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683#v4.2.2
48+
uses:actions/checkout@v4.2.2# immutable action, safe to use a version instead of hashtag
6549

6650
-name:Install Go
67-
uses:actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34#v5.3.0
51+
uses:actions/setup-go@v5.3.0# immutable action, safe to use a version instead of hashtag
6852
with:
6953
go-version:${{ env.GO }}
7054

7155
-name:Run GolangCi-Lint
72-
uses:golangci/golangci-lint-action@2e788936b09dd82dc280e845628a40d2ba6b204c# v6.3.1
56+
uses:golangci/golangci-lint-action@2226d7cb06a077cd73e56eedd38eecad18e5d837# v6.5.0
7357
with:
7458
version:latest

‎.github/workflows/release.yaml‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ permissions:
99
contents:write
1010

1111
env:
12-
GO:"1.23"
12+
GO:"1.24"
1313

1414
jobs:
1515
release-cli:
@@ -18,26 +18,26 @@ jobs:
1818
env:
1919
DOCKER_CLI_EXPERIMENTAL:"enabled"
2020
steps:
21-
-name:Checkoutcode
22-
uses:actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683#v4.2.2
21+
-name:Checkoutrepository
22+
uses:actions/checkout@v4.2.2# immutable action, safe to use a version instead of hashtag
2323

2424
-name:Install Go
25-
uses:actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34#v5.3.0
25+
uses:actions/setup-go@v5.3.0# immutable action, safe to use a version instead of hashtag
2626
with:
2727
go-version:${{ env.GO }}
2828

2929
-name:Allow arm Docker builds# https://github.com/linuxkit/linuxkit/tree/master/pkg/binfmt
3030
run:sudo docker run --privileged linuxkit/binfmt:v0.8
3131

3232
-name:Docker Login
33-
uses:docker/login-action@v3
33+
uses:docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567# v3.3.0
3434
with:
3535
registry:ghcr.io
3636
username:sv-tools-bot
3737
password:${{ secrets.BOT_TOKEN }}
3838

3939
-name:Docker Login
40-
uses:docker/login-action@v3
40+
uses:docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567# v3.3.0
4141
with:
4242
username:svtools
4343
password:${{ secrets.DOCKER_HUB_TOKEN }}

‎.golangci.yml‎

Lines changed: 29 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,65 @@
1-
run:
2-
skip-dirs-use-default:true
3-
41
linters:
52
enable:# keep in ascending order
3+
-asasalint
64
-asciicheck
75
-bodyclose
6+
-contextcheck
87
-copyloopvar
98
-dupl
109
-durationcheck
1110
-err113
11+
-errcheck
12+
-errorlint
1213
-exhaustive
14+
-exptostd
15+
-fatcontext
1316
-gci
17+
-gocheckcompilerdirectives
18+
-gochecksumtype
1419
-goconst
1520
-gocritic
1621
-gofumpt
1722
-goprintffuncname
1823
-gosec
24+
-gosimple
25+
-govet
26+
-iface
27+
-inamedparam
28+
-ineffassign
29+
-intrange
1930
-lll
31+
-mirror
2032
-misspell
33+
-musttag
2134
-nestif
35+
-nilerr
2236
-noctx
2337
-nolintlint
38+
-perfsprint
2439
-prealloc
2540
-predeclared
41+
-reassign
42+
-recvcheck
43+
-sloglint
44+
-staticcheck
45+
-testableexamples
46+
-testifylint
47+
-testpackage
2648
-thelper
49+
-tparallel
2750
-unconvert
2851
-unparam
2952
-unused
53+
-usestdlibvars
54+
-usetesting
55+
-wastedassign
3056
-whitespace
3157

3258
linters-settings:
3359
dupl:
3460
threshold:100
3561
misspell:
3662
locale:US
37-
golint:
38-
min-confidence:0
3963
govet:
4064
enable-all:true
4165
disable:
@@ -45,10 +69,6 @@ linters-settings:
4569
-standard
4670
-default
4771
-prefix(github.com/sv-tools/mock-http-server)
48-
gocognit:
49-
min-complexity:15
50-
gocyclo:
51-
min-complexity:15
5272
gofumpt:
5373
extra-rules:true
5474
lll:
@@ -57,8 +77,6 @@ linters-settings:
5777
goconst:
5878
min-len:3
5979
min-occurrences:3
60-
maligned:
61-
suggest-new:true
6280
prealloc:
6381
for-loops:true
6482
gocritic:

‎LICENSE‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2021 Tools
3+
Copyright (c) 2021SVTools
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

‎go.mod‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
modulegithub.com/sv-tools/mock-http-server
22

3-
go1.23.0
3+
go1.24.0
44

55
require (
66
github.com/spf13/pflagv1.0.6
7-
golang.org/x/expv0.0.0-20241108190413-2d47ceb2692f
7+
golang.org/x/expv0.0.0-20250228200357-dead58393ab7
88
gopkg.in/yaml.v3v3.0.1
99
)

‎go.sum‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ github.com/spf13/pflag v1.0.6 h1:jFzHGLGAlb3ruxLB8MhbI6A8+AQX/2eW4qeyNZXNp2o=
22
github.com/spf13/pflagv1.0.6/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
33
golang.org/x/expv0.0.0-20241108190413-2d47ceb2692f h1:XdNn9LlyWAhLVp6P/i8QYBW+hlyhrhei9uErw2B5GJo=
44
golang.org/x/expv0.0.0-20241108190413-2d47ceb2692f/go.mod h1:D5SMRVC3C2/4+F/DB1wZsLRnSNimn2Sp/NPsCrsv8ak=
5+
golang.org/x/expv0.0.0-20250228200357-dead58393ab7 h1:aWwlzYV971S4BXRS9AmqwDLAD85ouC6X+pocatKY58c=
6+
golang.org/x/expv0.0.0-20250228200357-dead58393ab7/go.mod h1:BHOTPb3L19zxehTsLoJXVaTktb06DFgmdW6Wb9s8jqk=
57
gopkg.in/check.v1v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
68
gopkg.in/check.v1v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
79
gopkg.in/yaml.v3v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp