Skip to content

Conversation

ldez
Copy link
Member

@ldez ldez commented Jun 10, 2023

Allow installing golangci-lint by using go install.

Fixes #540
Fixes #201
Closes #676

Related to #690

@ldez ldez added the enhancement New feature or request label Jun 10, 2023
@ldez ldez force-pushed the feat/go-install branch 2 times, most recently from c89143d to 7306845 Compare June 10, 2023 13:06
@ldez ldez force-pushed the feat/go-install branch from 7306845 to a180f50 Compare June 10, 2023 14:33
@ldez ldez merged commit 185e7a2 into golangci:master Jun 11, 2023
@ldez ldez deleted the feat/go-install branch June 11, 2023 17:16
@ldez ldez mentioned this pull request Jun 12, 2023
2 tasks
another-rex referenced this pull request in google/osv-scanner Jun 21, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [actions/checkout](https://togithub.com/actions/checkout) | action |
patch | `v3.5.2` -> `v3.5.3` |
| [docker/login-action](https://togithub.com/docker/login-action) |
action | digest | `f4ef78c` -> `465a078` |
|
[docker/setup-buildx-action](https://togithub.com/docker/setup-buildx-action)
| action | digest | `4b4e9c3` -> `ecf9528` |
|
[docker/setup-qemu-action](https://togithub.com/docker/setup-qemu-action)
| action | digest | `e81a89b` -> `2b82ce8` |
| [github/codeql-action](https://togithub.com/github/codeql-action) |
action | minor | `v2.3.6` -> `v2.20.0` |
|
[golangci/golangci-lint-action](https://togithub.com/golangci/golangci-lint-action)
| action | minor | `v3.5.0` -> `v3.6.0` |
|
[goreleaser/goreleaser-action](https://togithub.com/goreleaser/goreleaser-action)
| action | minor | `v4.2.0` -> `v4.3.0` |
|
[slsa-framework/slsa-github-generator](https://togithub.com/slsa-framework/slsa-github-generator)
| action | minor | `v1.6.0` -> `v1.7.0` |

---

### Release Notes

<details>
<summary>actions/checkout</summary>

###
[`v3.5.3`](https://togithub.com/actions/checkout/blob/HEAD/CHANGELOG.md#v353)

[Compare
Source](https://togithub.com/actions/checkout/compare/v3.5.2...v3.5.3)

- [Fix: Checkout fail in self-hosted runners when faulty submodule are
checked-in](https://togithub.com/actions/checkout/pull/1196)
- [Fix typos found by
codespell](https://togithub.com/actions/checkout/pull/1287)
- [Add support for sparse
checkouts](https://togithub.com/actions/checkout/pull/1369)

</details>

<details>
<summary>github/codeql-action</summary>

###
[`v2.20.0`](https://togithub.com/github/codeql-action/compare/v2.3.6...v2.20.0)

[Compare
Source](https://togithub.com/github/codeql-action/compare/v2.3.6...v2.20.0)

</details>

<details>
<summary>golangci/golangci-lint-action</summary>

###
[`v3.6.0`](https://togithub.com/golangci/golangci-lint-action/releases/tag/v3.6.0)

[Compare
Source](https://togithub.com/golangci/golangci-lint-action/compare/v3.5.0...v3.6.0)

#### What's Changed

- docs: fix example by [@&#8203;yuki0920](https://togithub.com/yuki0920)
in
[https://github.com/golangci/golangci-lint-action/pull/762](https://togithub.com/golangci/golangci-lint-action/pull/762)
- doc: Add custom configuration file path to args by
[@&#8203;Aisuko](https://togithub.com/Aisuko) in
[https://github.com/golangci/golangci-lint-action/pull/767](https://togithub.com/golangci/golangci-lint-action/pull/767)
- feat: add install-mode by [@&#8203;ldez](https://togithub.com/ldez) in
[https://github.com/golangci/golangci-lint-action/pull/768](https://togithub.com/golangci/golangci-lint-action/pull/768)
- feat: support out-format as args by
[@&#8203;jrehwaldt](https://togithub.com/jrehwaldt) in
[https://github.com/golangci/golangci-lint-action/pull/769](https://togithub.com/golangci/golangci-lint-action/pull/769)
- fix: out-format by [@&#8203;ldez](https://togithub.com/ldez) in
[https://github.com/golangci/golangci-lint-action/pull/770](https://togithub.com/golangci/golangci-lint-action/pull/770)

#### New Contributors

- [@&#8203;yuki0920](https://togithub.com/yuki0920) made their first
contribution in
[https://github.com/golangci/golangci-lint-action/pull/762](https://togithub.com/golangci/golangci-lint-action/pull/762)
- [@&#8203;Aisuko](https://togithub.com/Aisuko) made their first
contribution in
[https://github.com/golangci/golangci-lint-action/pull/767](https://togithub.com/golangci/golangci-lint-action/pull/767)
- [@&#8203;ldez](https://togithub.com/ldez) made their first
contribution in
[https://github.com/golangci/golangci-lint-action/pull/768](https://togithub.com/golangci/golangci-lint-action/pull/768)
- [@&#8203;jrehwaldt](https://togithub.com/jrehwaldt) made their first
contribution in
[https://github.com/golangci/golangci-lint-action/pull/769](https://togithub.com/golangci/golangci-lint-action/pull/769)

**Full Changelog**:
golangci/golangci-lint-action@v3.5.0...v3.6.0

</details>

<details>
<summary>goreleaser/goreleaser-action</summary>

###
[`v4.3.0`](https://togithub.com/goreleaser/goreleaser-action/releases/tag/v4.3.0)

[Compare
Source](https://togithub.com/goreleaser/goreleaser-action/compare/v4.2.0...v4.3.0)

#### What's Changed

- Update in command examples by
[@&#8203;arnaduga](https://togithub.com/arnaduga) in
[https://github.com/goreleaser/goreleaser-action/pull/393](https://togithub.com/goreleaser/goreleaser-action/pull/393)
- chore(deps): bump yargs from 17.6.2 to 17.7.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/goreleaser/goreleaser-action/pull/395](https://togithub.com/goreleaser/goreleaser-action/pull/395)
- Improve documentation for use of `GITHUB_TOKEN` by
[@&#8203;jamietanna](https://togithub.com/jamietanna) in
[https://github.com/goreleaser/goreleaser-action/pull/399](https://togithub.com/goreleaser/goreleaser-action/pull/399)
- chore(deps): bump actions/setup-go from 3 to 4 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/goreleaser/goreleaser-action/pull/403](https://togithub.com/goreleaser/goreleaser-action/pull/403)
- chore(deps): bump docker/bake-action from 2 to 3 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/goreleaser/goreleaser-action/pull/408](https://togithub.com/goreleaser/goreleaser-action/pull/408)
- chore(deps): bump semver from 7.3.8 to 7.5.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/goreleaser/goreleaser-action/pull/407](https://togithub.com/goreleaser/goreleaser-action/pull/407)
- Bump setup-go action version to v4 in README by
[@&#8203;kishaningithub](https://togithub.com/kishaningithub) in
[https://github.com/goreleaser/goreleaser-action/pull/411](https://togithub.com/goreleaser/goreleaser-action/pull/411)
- ci: split test and validate workflow by
[@&#8203;crazy-max](https://togithub.com/crazy-max) in
[https://github.com/goreleaser/goreleaser-action/pull/413](https://togithub.com/goreleaser/goreleaser-action/pull/413)
- chore: update yarn to 3.5.1 by
[@&#8203;crazy-max](https://togithub.com/crazy-max) in
[https://github.com/goreleaser/goreleaser-action/pull/412](https://togithub.com/goreleaser/goreleaser-action/pull/412)
- chore(deps): bump yargs from 17.7.1 to 17.7.2 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/goreleaser/goreleaser-action/pull/410](https://togithub.com/goreleaser/goreleaser-action/pull/410)
- feat: support nightly by
[@&#8203;caarlos0](https://togithub.com/caarlos0) in
[https://github.com/goreleaser/goreleaser-action/pull/419](https://togithub.com/goreleaser/goreleaser-action/pull/419)

#### New Contributors

- [@&#8203;arnaduga](https://togithub.com/arnaduga) made their first
contribution in
[https://github.com/goreleaser/goreleaser-action/pull/393](https://togithub.com/goreleaser/goreleaser-action/pull/393)
- [@&#8203;jamietanna](https://togithub.com/jamietanna) made their first
contribution in
[https://github.com/goreleaser/goreleaser-action/pull/399](https://togithub.com/goreleaser/goreleaser-action/pull/399)
- [@&#8203;kishaningithub](https://togithub.com/kishaningithub) made
their first contribution in
[https://github.com/goreleaser/goreleaser-action/pull/411](https://togithub.com/goreleaser/goreleaser-action/pull/411)

**Full Changelog**:
goreleaser/goreleaser-action@v4.2.0...v4.3.0

</details>

<details>
<summary>slsa-framework/slsa-github-generator</summary>

###
[`v1.7.0`](https://togithub.com/slsa-framework/slsa-github-generator/releases/tag/v1.7.0)

[Compare
Source](https://togithub.com/slsa-framework/slsa-github-generator/compare/v1.6.0...v1.7.0)

See the [CHANGELOG](./CHANGELOG.md) for details.

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 6am on monday" in timezone
Australia/Sydney, Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/google/osv-scanner).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMTAuMCIsInVwZGF0ZWRJblZlciI6IjM1LjEzMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
kodiakhq bot referenced this pull request in cloudquery/cloudquery Aug 1, 2023
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| booxmedialtd/ws-action-parse-semver | action | digest | `966a265` -> `7784200` |
| [docker.elastic.co/elasticsearch/elasticsearch](https://togithub.com/elastic/elasticsearch) | service | minor | `8.7.0` -> `8.9.0` |
| getmeili/meilisearch | service | minor | `v1.1.0` -> `v1.3.0` |
| [golangci/golangci-lint-action](https://togithub.com/golangci/golangci-lint-action) | action | minor | `v3.4.0` -> `v3.6.0` |
| mtlynch/firestore-emulator | service | digest | `327f3c8` -> `74dc4be` |
| peter-evans/create-or-update-comment | action | digest | `5f728c3` -> `716151b` |
| peter-evans/find-comment | action | digest | `ebedc73` -> `5cea877` |
| tinkerpop/gremlin-server | service | patch | `3.6.2` -> `3.6.4` |

---

### ⚠ Dependency Lookup Warnings ⚠

Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information.

---

### Release Notes

<details>
<summary>elastic/elasticsearch (docker.elastic.co/elasticsearch/elasticsearch)</summary>

### [`v8.9.0`](https://togithub.com/elastic/elasticsearch/releases/tag/v8.9.0): Elasticsearch 8.9.0

[Compare Source](https://togithub.com/elastic/elasticsearch/compare/v8.8.2...v8.9.0)

Downloads: https://elastic.co/downloads/elasticsearch
Release notes: https://www.elastic.co/guide/en/elasticsearch/reference/8.9/release-notes-8.9.0.html

### [`v8.8.2`](https://togithub.com/elastic/elasticsearch/releases/tag/v8.8.2): Elasticsearch 8.8.2

[Compare Source](https://togithub.com/elastic/elasticsearch/compare/v8.8.1...v8.8.2)

Downloads: https://elastic.co/downloads/elasticsearch
Release notes: https://www.elastic.co/guide/en/elasticsearch/reference/8.8/release-notes-8.8.2.html

### [`v8.8.1`](https://togithub.com/elastic/elasticsearch/releases/tag/v8.8.1): Elasticsearch 8.8.1

[Compare Source](https://togithub.com/elastic/elasticsearch/compare/v8.8.0...v8.8.1)

Downloads: https://elastic.co/downloads/elasticsearch
Release notes: https://www.elastic.co/guide/en/elasticsearch/reference/8.8/release-notes-8.8.1.html

### [`v8.8.0`](https://togithub.com/elastic/elasticsearch/releases/tag/v8.8.0): Elasticsearch 8.8.0

[Compare Source](https://togithub.com/elastic/elasticsearch/compare/v8.7.1...v8.8.0)

Downloads: https://elastic.co/downloads/elasticsearch
Release notes: https://www.elastic.co/guide/en/elasticsearch/reference/8.8/release-notes-8.8.0.html

### [`v8.7.1`](https://togithub.com/elastic/elasticsearch/releases/tag/v8.7.1): Elasticsearch 8.7.1

[Compare Source](https://togithub.com/elastic/elasticsearch/compare/v8.7.0...v8.7.1)

Downloads: https://elastic.co/downloads/elasticsearch
Release notes: https://www.elastic.co/guide/en/elasticsearch/reference/8.7/release-notes-8.7.1.html

</details>

<details>
<summary>golangci/golangci-lint-action (golangci/golangci-lint-action)</summary>

### [`v3.6.0`](https://togithub.com/golangci/golangci-lint-action/releases/tag/v3.6.0)

[Compare Source](https://togithub.com/golangci/golangci-lint-action/compare/v3.5.0...v3.6.0)

#### What's Changed

-   docs: fix example by [@&#8203;yuki0920](https://togithub.com/yuki0920) in [https://github.com/golangci/golangci-lint-action/pull/762](https://togithub.com/golangci/golangci-lint-action/pull/762)
-   doc: Add custom configuration file path to args by [@&#8203;Aisuko](https://togithub.com/Aisuko) in [https://github.com/golangci/golangci-lint-action/pull/767](https://togithub.com/golangci/golangci-lint-action/pull/767)
-   feat: add install-mode by [@&#8203;ldez](https://togithub.com/ldez) in [https://github.com/golangci/golangci-lint-action/pull/768](https://togithub.com/golangci/golangci-lint-action/pull/768)
-   feat: support out-format as args by [@&#8203;jrehwaldt](https://togithub.com/jrehwaldt) in [https://github.com/golangci/golangci-lint-action/pull/769](https://togithub.com/golangci/golangci-lint-action/pull/769)
-   fix: out-format by [@&#8203;ldez](https://togithub.com/ldez) in [https://github.com/golangci/golangci-lint-action/pull/770](https://togithub.com/golangci/golangci-lint-action/pull/770)

#### New Contributors

-   [@&#8203;yuki0920](https://togithub.com/yuki0920) made their first contribution in [https://github.com/golangci/golangci-lint-action/pull/762](https://togithub.com/golangci/golangci-lint-action/pull/762)
-   [@&#8203;Aisuko](https://togithub.com/Aisuko) made their first contribution in [https://github.com/golangci/golangci-lint-action/pull/767](https://togithub.com/golangci/golangci-lint-action/pull/767)
-   [@&#8203;ldez](https://togithub.com/ldez) made their first contribution in [https://github.com/golangci/golangci-lint-action/pull/768](https://togithub.com/golangci/golangci-lint-action/pull/768)
-   [@&#8203;jrehwaldt](https://togithub.com/jrehwaldt) made their first contribution in [https://github.com/golangci/golangci-lint-action/pull/769](https://togithub.com/golangci/golangci-lint-action/pull/769)

**Full Changelog**: golangci/golangci-lint-action@v3.5.0...v3.6.0

### [`v3.5.0`](https://togithub.com/golangci/golangci-lint-action/releases/tag/v3.5.0)

[Compare Source](https://togithub.com/golangci/golangci-lint-action/compare/v3.4.0...v3.5.0)

#### What's Changed

-   doc: add quote around go version by [@&#8203;vaughany](https://togithub.com/vaughany) in [https://github.com/golangci/golangci-lint-action/pull/670](https://togithub.com/golangci/golangci-lint-action/pull/670)
-   docs/build: update to setup-go@v4 by [@&#8203;caarlos0](https://togithub.com/caarlos0) in [https://github.com/golangci/golangci-lint-action/pull/704](https://togithub.com/golangci/golangci-lint-action/pull/704)
-   fix invalid docs about cache key by [@&#8203;hori-ryota](https://togithub.com/hori-ryota) in [https://github.com/golangci/golangci-lint-action/pull/695](https://togithub.com/golangci/golangci-lint-action/pull/695)

#### New Contributors

-   [@&#8203;vaughany](https://togithub.com/vaughany) made their first contribution in [https://github.com/golangci/golangci-lint-action/pull/670](https://togithub.com/golangci/golangci-lint-action/pull/670)
-   [@&#8203;caarlos0](https://togithub.com/caarlos0) made their first contribution in [https://github.com/golangci/golangci-lint-action/pull/704](https://togithub.com/golangci/golangci-lint-action/pull/704)
-   [@&#8203;hori-ryota](https://togithub.com/hori-ryota) made their first contribution in [https://github.com/golangci/golangci-lint-action/pull/695](https://togithub.com/golangci/golangci-lint-action/pull/695)

**Full Changelog**: golangci/golangci-lint-action@v3.4.0...v3.5.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 4am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://togithub.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4yNi4xIiwidXBkYXRlZEluVmVyIjoiMzYuMjYuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: installation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add an option to use go install instead of pre-compiled binary Make download URL for golangci-lint configurable
1 participant