Skip to content

Commit

Permalink
docs: update GitHub Action assets (#4731)
Browse files Browse the repository at this point in the history
Co-authored-by: Fernandez Ludovic <[email protected]>
  • Loading branch information
golangci-releaser and ldez authored May 19, 2024
1 parent 8c4cfb6 commit d94cbbf
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
20 changes: 14 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -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`.
Expand Down Expand Up @@ -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
Expand All @@ -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

Expand Down
8 changes: 4 additions & 4 deletions assets/github-action-config.json
Original file line number Diff line number Diff line change
@@ -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"
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit d94cbbf

Please sign in to comment.