From 97dddb0e3e68705e9c2a0902a8d443f75ed59be3 Mon Sep 17 00:00:00 2001 From: William Zhang Date: Fri, 28 Sep 2018 14:41:35 +0800 Subject: [PATCH 01/16] typo: pacakge -> package --- capnslog/init.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/capnslog/init.go b/capnslog/init.go index 44b8cd3..38ce6d2 100644 --- a/capnslog/init.go +++ b/capnslog/init.go @@ -32,7 +32,7 @@ import ( func init() { initHijack() - // Go `log` pacakge uses os.Stderr. + // Go `log` package uses os.Stderr. SetFormatter(NewDefaultFormatter(os.Stderr)) SetGlobalLogLevel(INFO) } From c95f18571d3f4f81840e01256d71875c1665d58b Mon Sep 17 00:00:00 2001 From: Benjamin Gilbert Date: Wed, 22 Jun 2022 00:01:45 -0400 Subject: [PATCH 02/16] MAINTAINERS: drop stale file --- MAINTAINERS | 1 - 1 file changed, 1 deletion(-) delete mode 100644 MAINTAINERS diff --git a/MAINTAINERS b/MAINTAINERS deleted file mode 100644 index ff13ec9..0000000 --- a/MAINTAINERS +++ /dev/null @@ -1 +0,0 @@ -Ed Rooth (@sym3tri) From 2614793d7a5cc8c2d62e031517b7574772478739 Mon Sep 17 00:00:00 2001 From: Benjamin Gilbert Date: Wed, 22 Jun 2022 00:01:37 -0400 Subject: [PATCH 03/16] CONTRIBUTING: drop obsolete mailing list and IRC channel --- CONTRIBUTING.md | 9 --------- 1 file changed, 9 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 6662073..7793a23 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -12,15 +12,6 @@ Origin (DCO). This document was created by the Linux Kernel community and is a simple statement that you, as a contributor, have the legal right to make the contribution. See the [DCO](DCO) file for details. -# Email and Chat - -The project currently uses the general CoreOS email list and IRC channel: -- Email: [coreos-dev](https://groups.google.com/forum/#!forum/coreos-dev) -- IRC: #[coreos](irc://irc.freenode.org:6667/#coreos) IRC channel on freenode.org - -Please avoid emailing maintainers found in the MAINTAINERS file directly. They -are very busy and read the mailing lists. - ## Getting Started - Fork the repository on GitHub From 2a86342c9b30e5099bfac09c913611729f755c4f Mon Sep 17 00:00:00 2001 From: Benjamin Gilbert Date: Wed, 22 Jun 2022 00:20:41 -0400 Subject: [PATCH 04/16] *: gofmt --- capnslog/init.go | 1 + capnslog/journald_formatter.go | 1 + capnslog/syslog_formatter.go | 1 + dlopen/dlopen_example.go | 1 + k8s-tlsutil/k8s-tlsutil.go | 2 +- 5 files changed, 5 insertions(+), 1 deletion(-) diff --git a/capnslog/init.go b/capnslog/init.go index 38ce6d2..9b1e4e6 100644 --- a/capnslog/init.go +++ b/capnslog/init.go @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. // +//go:build !windows // +build !windows package capnslog diff --git a/capnslog/journald_formatter.go b/capnslog/journald_formatter.go index 72e0520..51751cc 100644 --- a/capnslog/journald_formatter.go +++ b/capnslog/journald_formatter.go @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. // +//go:build !windows // +build !windows package capnslog diff --git a/capnslog/syslog_formatter.go b/capnslog/syslog_formatter.go index 4be5a1f..5f10547 100644 --- a/capnslog/syslog_formatter.go +++ b/capnslog/syslog_formatter.go @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. // +//go:build !windows // +build !windows package capnslog diff --git a/dlopen/dlopen_example.go b/dlopen/dlopen_example.go index 48a6601..2065c5e 100644 --- a/dlopen/dlopen_example.go +++ b/dlopen/dlopen_example.go @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. // +//go:build linux // +build linux package dlopen diff --git a/k8s-tlsutil/k8s-tlsutil.go b/k8s-tlsutil/k8s-tlsutil.go index 11389a4..0027674 100644 --- a/k8s-tlsutil/k8s-tlsutil.go +++ b/k8s-tlsutil/k8s-tlsutil.go @@ -82,7 +82,7 @@ func NewSelfSignedCACertificate(cfg CertConfig, key *rsa.PrivateKey, validDurati NotAfter: now.Add(dur), KeyUsage: x509.KeyUsageKeyEncipherment | x509.KeyUsageDigitalSignature | x509.KeyUsageCertSign, BasicConstraintsValid: true, - IsCA: true, + IsCA: true, } certDERBytes, err := x509.CreateCertificate(rand.Reader, &tmpl, &tmpl, key.Public(), key) From 652d0aa1ac5e459847b4b39850c7da12a436683b Mon Sep 17 00:00:00 2001 From: Benjamin Gilbert Date: Thu, 23 Jun 2022 01:31:12 -0400 Subject: [PATCH 05/16] Add hidden go.mod for CI We've already surpassed major version 1 in this repository, so we can't add a go.mod without bumping the module path and requiring callers to update: https://go.dev/ref/mod#non-module-compat However, this repository is in deep maintenance mode and it doesn't make sense to perturb callers in this way. At the same time, we want to be able to do test builds in CI, and GOPATH is no longer the way. Add hidden go.mod and go.sum files, and have build.sh and test.sh symlink them into place. Put them in .gitignore so they're not accidentally committed. --- .ci/go.mod | 10 ++++++++++ .ci/go.sum | 22 ++++++++++++++++++++++ .gitignore | 5 +++++ build.sh | 4 ++++ 4 files changed, 41 insertions(+) create mode 100644 .ci/go.mod create mode 100644 .ci/go.sum diff --git a/.ci/go.mod b/.ci/go.mod new file mode 100644 index 0000000..3c1bc14 --- /dev/null +++ b/.ci/go.mod @@ -0,0 +1,10 @@ +module github.com/coreos/pkg + +go 1.15 + +require ( + github.com/coreos/go-systemd v0.0.0-20191104093116-d3cd4ed1dbcf + golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e + gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect + gopkg.in/yaml.v1 v1.0.0-20140924161607-9f9df34309c0 +) diff --git a/.ci/go.sum b/.ci/go.sum new file mode 100644 index 0000000..04ca605 --- /dev/null +++ b/.ci/go.sum @@ -0,0 +1,22 @@ +github.com/coreos/go-systemd v0.0.0-20191104093116-d3cd4ed1dbcf h1:iW4rZ826su+pqaw19uhpSCzhj44qo35pNgKFGqzDKkU= +github.com/coreos/go-systemd v0.0.0-20191104093116-d3cd4ed1dbcf/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= +github.com/kr/pretty v0.2.1 h1:Fmg33tUaq4/8ym9TJN1x7sLJnHVwhP33CNkpYV/7rwI= +github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= +github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= +github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE= +github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= +golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e h1:T8NU3HyQ8ClP4SEE+KbFlg6n0NhuTsN4MyznaarGsZM= +golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= +golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1 h1:SrN+KX8Art/Sf4HNj6Zcz06G7VEz+7w9tdXTPOZ7+l4= +golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1 h1:v+OssWQX+hTHEmOBgwxdZxK4zHq3yOs8F9J7mk0PY8E= +golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= +golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= +gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= +gopkg.in/yaml.v1 v1.0.0-20140924161607-9f9df34309c0 h1:POO/ycCATvegFmVuPpQzZFJ+pGZeX22Ufu6fibxDVjU= +gopkg.in/yaml.v1 v1.0.0-20140924161607-9f9df34309c0/go.mod h1:WDnlLJ4WF5VGsH/HVa3CI79GS0ol3YnhVnKP89i0kNg= diff --git a/.gitignore b/.gitignore index 00ae105..e6b31de 100644 --- a/.gitignore +++ b/.gitignore @@ -25,3 +25,8 @@ _testmain.go bin/ coverage/ + +# We use these for testing but don't want to publish them, since we'd need +# to bump the major version +/go.mod +/go.sum diff --git a/build.sh b/build.sh index f5d3c47..76e7155 100755 --- a/build.sh +++ b/build.sh @@ -1,3 +1,7 @@ #!/bin/bash -e +# We use these for testing but don't want to publish them, since we'd need +# to bump the major version +for f in .ci/*; do ln -sf $f .; done + go build ./... From a903cb70f46c8b0442951008888b722c1c64191e Mon Sep 17 00:00:00 2001 From: Benjamin Gilbert Date: Wed, 22 Jun 2022 01:31:09 -0400 Subject: [PATCH 06/16] Fix lints --- cryptoutil/aes_test.go | 3 +++ httputil/json_test.go | 4 ++-- progressutil/iocopy_test.go | 6 +++--- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/cryptoutil/aes_test.go b/cryptoutil/aes_test.go index b23bec7..2dc7c97 100644 --- a/cryptoutil/aes_test.go +++ b/cryptoutil/aes_test.go @@ -71,6 +71,9 @@ func TestAESEncryptDecrypt(t *testing.T) { } decrypted, err := AESDecrypt(ciphertext, key) + if err != nil { + t.Fatalf("Unexpected error: %v", err) + } if !reflect.DeepEqual(message, decrypted) { t.Fatalf("Decrypted data does not match original payload: want=%v got=%v", message, decrypted) } diff --git a/httputil/json_test.go b/httputil/json_test.go index 9210892..6076dfe 100644 --- a/httputil/json_test.go +++ b/httputil/json_test.go @@ -40,9 +40,9 @@ func TestWriteJSONResponse(t *testing.T) { t.Errorf("case %d: (err != nil) == %v, want %v. err: %v", i, err != nil, test.expectErr, err) } - if string(w.Body.Bytes()) != test.expectedJSON { + if w.Body.String() != test.expectedJSON { t.Errorf("case %d: w.Body.Bytes()) == %q, want %q", i, - string(w.Body.Bytes()), test.expectedJSON) + w.Body.String(), test.expectedJSON) } if !test.expectErr { diff --git a/progressutil/iocopy_test.go b/progressutil/iocopy_test.go index df6bf65..1a7fe99 100644 --- a/progressutil/iocopy_test.go +++ b/progressutil/iocopy_test.go @@ -87,7 +87,7 @@ func TestCopyOne(t *testing.T) { t.Errorf("error from PrintAndWait: %v", err) } - if bytes.Compare(fw.Bytes(), bytes.Repeat(sampleData, 10)) != 0 { + if !bytes.Equal(fw.Bytes(), bytes.Repeat(sampleData, 10)) { t.Errorf("copied bytes don't match!") } } @@ -99,7 +99,7 @@ func TestErrAlreadyStarted(t *testing.T) { out := &bytes.Buffer{} - err := cpp.AddCopy(fr, "download", 10^10, fw) + err := cpp.AddCopy(fr, "download", 10e10, fw) if err != nil { t.Errorf("%v\n", err) } @@ -121,7 +121,7 @@ func TestErrAlreadyStarted(t *testing.T) { } } - err = cpp.AddCopy(fr, "download", 10^10, fw) + err = cpp.AddCopy(fr, "download", 10e10, fw) if err != ErrAlreadyStarted { t.Errorf("Was expecting ErrAlreadyStarted, got something else: %v\n", err) } From 51c01625dbc1eab8534e2d5d7143df9673f8adef Mon Sep 17 00:00:00 2001 From: Benjamin Gilbert Date: Wed, 22 Jun 2022 00:35:30 -0400 Subject: [PATCH 07/16] Switch from Travis to GitHub Actions Also enable lints. Skip errcheck for now, since it finds too many issues. Also skip a deprecation warning for a dependency we're going to keep. --- .github/workflows/go.yml | 34 ++++++++++++++++++++++++++++++++++ .golangci.yaml | 10 ++++++++++ .travis.yml | 8 -------- 3 files changed, 44 insertions(+), 8 deletions(-) create mode 100644 .github/workflows/go.yml create mode 100644 .golangci.yaml delete mode 100644 .travis.yml diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml new file mode 100644 index 0000000..a6fb5b0 --- /dev/null +++ b/.github/workflows/go.yml @@ -0,0 +1,34 @@ +name: Go + +on: + push: + branches: [main] + pull_request: + branches: [main] + +permissions: + contents: read + +jobs: + test: + name: Test + strategy: + matrix: + go-version: [1.15.x, 1.16.x, 1.17.x, 1.18.x] + runs-on: ubuntu-latest + steps: + - name: Set up Go 1.x + uses: actions/setup-go@v2 + with: + go-version: ${{ matrix.go-version }} + - name: Check out repository + uses: actions/checkout@v2 + - name: Build + run: ./build.sh + - name: Run tests + run: ./test.sh + - name: Run linter + uses: golangci/golangci-lint-action@v2 + with: + version: v1.46.2 + args: -E=gofmt --timeout=30m0s diff --git a/.golangci.yaml b/.golangci.yaml new file mode 100644 index 0000000..09f79bb --- /dev/null +++ b/.golangci.yaml @@ -0,0 +1,10 @@ +linters: + disable: + # Too many errors for now + - errcheck +issues: + exclude-rules: + # Deprecated dependency we're going to keep + - linters: + - staticcheck + text: "moved to golang.org/x/term" diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 21df674..0000000 --- a/.travis.yml +++ /dev/null @@ -1,8 +0,0 @@ -language: go - -go: - - 1.5.4 - - 1.6.2 - -script: - - ./test.sh From 5bdd6b7416dd2c79106a69d7b8eecfc7745819fe Mon Sep 17 00:00:00 2001 From: Benjamin Gilbert Date: Tue, 9 Aug 2022 19:55:50 -0400 Subject: [PATCH 08/16] Fix comments for gofmt 1.19 --- dlopen/dlopen_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/dlopen/dlopen_test.go b/dlopen/dlopen_test.go index 60d88fa..b9017b7 100644 --- a/dlopen/dlopen_test.go +++ b/dlopen/dlopen_test.go @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + package dlopen import ( From 16a4e07ff7fde278683483317705da6d9e96b994 Mon Sep 17 00:00:00 2001 From: Benjamin Gilbert Date: Tue, 9 Aug 2022 19:22:02 -0400 Subject: [PATCH 09/16] workflows: update action versions --- .github/workflows/go.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index a6fb5b0..f691bf4 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -18,17 +18,17 @@ jobs: runs-on: ubuntu-latest steps: - name: Set up Go 1.x - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: go-version: ${{ matrix.go-version }} - name: Check out repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Build run: ./build.sh - name: Run tests run: ./test.sh - name: Run linter - uses: golangci/golangci-lint-action@v2 + uses: golangci/golangci-lint-action@v3 with: - version: v1.46.2 + version: v1.48.0 args: -E=gofmt --timeout=30m0s From f5160d75925738f671a35857a216c9e7ff3b5fd6 Mon Sep 17 00:00:00 2001 From: Benjamin Gilbert Date: Tue, 9 Aug 2022 19:22:14 -0400 Subject: [PATCH 10/16] workflows: add Go 1.19 --- .github/workflows/go.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index f691bf4..3efc2bd 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -14,7 +14,7 @@ jobs: name: Test strategy: matrix: - go-version: [1.15.x, 1.16.x, 1.17.x, 1.18.x] + go-version: [1.15.x, 1.16.x, 1.17.x, 1.18.x, 1.19.x] runs-on: ubuntu-latest steps: - name: Set up Go 1.x From 54658e1bc7c2aeb5cf7e961cc3bec73f22ecafd5 Mon Sep 17 00:00:00 2001 From: Benjamin Gilbert Date: Wed, 8 Feb 2023 13:39:36 -0500 Subject: [PATCH 11/16] workflows: update golangci-lint --- .github/workflows/go.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 3efc2bd..67f3ece 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -30,5 +30,5 @@ jobs: - name: Run linter uses: golangci/golangci-lint-action@v3 with: - version: v1.48.0 + version: v1.51.1 args: -E=gofmt --timeout=30m0s From c58ba05d54cef10bd59ca5805edf7e7a8e071023 Mon Sep 17 00:00:00 2001 From: Benjamin Gilbert Date: Wed, 8 Feb 2023 13:39:50 -0500 Subject: [PATCH 12/16] workflows: add Go 1.20 --- .github/workflows/go.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 67f3ece..3b3ffd5 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -14,7 +14,7 @@ jobs: name: Test strategy: matrix: - go-version: [1.15.x, 1.16.x, 1.17.x, 1.18.x, 1.19.x] + go-version: [1.15.x, 1.16.x, 1.17.x, 1.18.x, 1.19.x, 1.20.x] runs-on: ubuntu-latest steps: - name: Set up Go 1.x From 4f379c75cfca06c8b6b37c9b4edd4c4fb11634da Mon Sep 17 00:00:00 2001 From: Benjamin Gilbert Date: Fri, 24 Mar 2023 19:06:56 -0400 Subject: [PATCH 13/16] workflows: switch to setup-go v4 Cache dependencies and build outputs by default. --- .github/workflows/go.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 3b3ffd5..168882e 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -18,7 +18,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Set up Go 1.x - uses: actions/setup-go@v3 + uses: actions/setup-go@v4 with: go-version: ${{ matrix.go-version }} - name: Check out repository From 7ae99c41cc17b1dc505ac201c09254f2e36433f8 Mon Sep 17 00:00:00 2001 From: CoreOS Bot Date: Tue, 30 May 2023 21:16:31 +0000 Subject: [PATCH 14/16] =?UTF-8?q?Sync=20repo=20templates=20=E2=9A=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sync with coreos/repo-templates@76ccaa1e8a2ba3da1a8e076fe16fcb056095c4a3. --- .github/workflows/go.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 168882e..7925eef 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -1,14 +1,20 @@ -name: Go +# Maintained in https://github.com/coreos/repo-templates +# Do not edit downstream. +name: Go on: push: branches: [main] pull_request: branches: [main] - permissions: contents: read +# don't waste job slots on superseded code +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: test: name: Test @@ -25,10 +31,10 @@ jobs: uses: actions/checkout@v3 - name: Build run: ./build.sh - - name: Run tests + - name: Test run: ./test.sh - name: Run linter uses: golangci/golangci-lint-action@v3 with: - version: v1.51.1 + version: v1.52.2 args: -E=gofmt --timeout=30m0s From 2387bd7538836a2f53d73dc04bf9d1f207e3111f Mon Sep 17 00:00:00 2001 From: Benjamin Gilbert Date: Tue, 30 May 2023 22:50:15 -0400 Subject: [PATCH 15/16] README: drop obsolete build status badge --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index ca68a07..7911647 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,3 @@ a collection of go utility packages -[![Build Status](https://travis-ci.org/coreos/pkg.png?branch=master)](https://travis-ci.org/coreos/pkg) [![Godoc](http://img.shields.io/badge/godoc-reference-blue.svg?style=flat)](https://godoc.org/github.com/coreos/pkg) From 70161016d961d03195073baa9550bafa77abd612 Mon Sep 17 00:00:00 2001 From: CoreOS Bot Date: Wed, 3 Jan 2024 21:11:02 +0000 Subject: [PATCH 16/16] =?UTF-8?q?Sync=20repo=20templates=20=E2=9A=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sync with coreos/repo-templates@7e30893b8860c6a7733bca2e56a2b86545bab5b8. --- .github/workflows/go.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 7925eef..48baa67 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -36,5 +36,5 @@ jobs: - name: Run linter uses: golangci/golangci-lint-action@v3 with: - version: v1.52.2 + version: v1.55.1 args: -E=gofmt --timeout=30m0s