From d94cbbf504f36fd509aa767f2b487fb32b6d3f9d Mon Sep 17 00:00:00 2001 From: golangci-releaser <65486276+golangci-releaser@users.noreply.github.com> Date: Sun, 19 May 2024 21:35:28 +0300 Subject: [PATCH] docs: update GitHub Action assets (#4731) Co-authored-by: Fernandez Ludovic --- .goreleaser.yml | 2 +- CHANGELOG.md | 20 ++++++++++++++------ assets/github-action-config.json | 8 ++++---- 3 files changed, 19 insertions(+), 11 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 4a34e4e7..00ee70d8 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -92,7 +92,7 @@ brews: - repository: owner: golangci name: homebrew-tap - folder: Formula + directory: Formula homepage: https://golangci.com description: Fast linters runner for Go. install: | diff --git a/CHANGELOG.md b/CHANGELOG.md index adb485de..687dd80b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,14 @@ Follow the news and releases on [Mastodon](https://fosstodon.org/@golangcilint) and on [Twitter](https://twitter.com/golangci). -There is the most valuable changes log: +### v1.58.2 + +1. Updated linters + * `canonicalheader`: from 1.0.6 to 1.1.1 + * `gosec`: from 2.19.0 to 2.20.0 + * `musttag`: from 0.12.1 to 0.12.2 + * `nilnil`: from 0.1.8 to 0.1.9 +2. Documentation + * Improve integrations and install pages ### v1.58.1 @@ -63,7 +71,7 @@ There is the most valuable changes log: * Add `pre-commit` hook to run `config verify` * Improve `github-action` output 6. Documentation - * docs: remove deprecated Atom from Editor Integrations + * Remove deprecated Atom from Editor Integrations GitHub Action (v5.1.0) for golangci-lint: - supports for `pull`, `pull_request_target`, and `merge_group` events with the option `only-new-issues`. @@ -121,8 +129,8 @@ GitHub Action (v5.1.0) for golangci-lint: * `wrapcheck`: from 2.8.1 to 2.8.3 * Disable `copyloopvar` and `intrange` on Go < 1.22 3. Enhancements - * 🧩 New custom linters system https://golangci-lint.run/plugins/module-plugins/ - * πŸŽ‰ Allow running only a specific linter without modifying the file configuration (`--enable-only`) + * 🧩New custom linters system https://golangci-lint.run/plugins/module-plugins/ + * Allow running only a specific linter without modifying the file configuration (`--enable-only`) * Allow custom sort order for the reports (`output.sort-order`) * Automatically adjust the maximum concurrency to the container CPU quota if `run.concurrency=0` * Add `config verify` command to check the configuration against the JSON Schema @@ -142,8 +150,8 @@ GitHub Action (v5.1.0) for golangci-lint: * Use `GOTOOLCHAIN=auto` inside the Docker images 5. Documentation * ⚠️ Define the linter deprecation cycle https://golangci-lint.run/product/roadmap/#linter-deprecation-cycle - * πŸŽ‰ Use information from the previous release to create linter pages - * πŸŽ‰ Publish JSON schema on https://golangci-lint.run/jsonschema/golangci.jsonschema.json + * πŸŽ‰Use information from the previous release to create linter pages + * Publish JSON schema on https://golangci-lint.run/jsonschema/golangci.jsonschema.json * Reorganize documentation pages * Add an explanation about the configuration file inside golangci-lint repository diff --git a/assets/github-action-config.json b/assets/github-action-config.json index 4d2c41dd..48489b36 100644 --- a/assets/github-action-config.json +++ b/assets/github-action-config.json @@ -1,8 +1,8 @@ { "MinorVersionToConfig": { "latest": { - "TargetVersion": "v1.58.1", - "AssetURL": "https://github.com/golangci/golangci-lint/releases/download/v1.58.1/golangci-lint-1.58.1-linux-amd64.tar.gz" + "TargetVersion": "v1.58.2", + "AssetURL": "https://github.com/golangci/golangci-lint/releases/download/v1.58.2/golangci-lint-1.58.2-linux-amd64.tar.gz" }, "v1.10": { "Error": "golangci-lint version 'v1.10' isn't supported: we support only v1.14.0 and later versions" @@ -202,8 +202,8 @@ "AssetURL": "https://github.com/golangci/golangci-lint/releases/download/v1.57.2/golangci-lint-1.57.2-linux-amd64.tar.gz" }, "v1.58": { - "TargetVersion": "v1.58.1", - "AssetURL": "https://github.com/golangci/golangci-lint/releases/download/v1.58.1/golangci-lint-1.58.1-linux-amd64.tar.gz" + "TargetVersion": "v1.58.2", + "AssetURL": "https://github.com/golangci/golangci-lint/releases/download/v1.58.2/golangci-lint-1.58.2-linux-amd64.tar.gz" }, "v1.6": { "Error": "golangci-lint version 'v1.6' isn't supported: we support only v1.14.0 and later versions"