[PR #182] [CLOSED] Golang ci lint config #1304

Closed
opened 2025-12-29 02:29:37 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/juanfont/headscale/pull/182
Author: @kradalby
Created: 10/19/2021
Status: Closed

Base: mainHead: golang-ci-lint-config


📝 Commits (9)

  • 02d900d Add golang-ci configration
  • 86138a0 Remove reduntant golang-ci step (its in make)
  • 1ea5dfc Rework lint github actions
  • 1ed450a Remove golint, it is deprecated and archive
  • ac37b0f Prettier checkout change
  • ae030ad Revert last commit
  • 2260656 try new pattern
  • a5119ae rename golanglint
  • aa40d3d Merge branch 'main' into golang-ci-lint-config

📊 Changes

3 files changed (+35 additions, -29 deletions)

View changed files

📝 .github/workflows/lint.yml (+17 -27)
.golangci.yaml (+17 -0)
📝 Makefile (+1 -2)

📄 Description

This PR adds golangci-lint config with a lot more linters.

It will definitively fail, a lot, so might have to disable it for a while until we have it in order.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/juanfont/headscale/pull/182 **Author:** [@kradalby](https://github.com/kradalby) **Created:** 10/19/2021 **Status:** ❌ Closed **Base:** `main` ← **Head:** `golang-ci-lint-config` --- ### 📝 Commits (9) - [`02d900d`](https://github.com/juanfont/headscale/commit/02d900d6a579b2247033c0e76869eb539f572798) Add golang-ci configration - [`86138a0`](https://github.com/juanfont/headscale/commit/86138a0d8cd64f5e35a074597136b1ef2354a48e) Remove reduntant golang-ci step (its in make) - [`1ea5dfc`](https://github.com/juanfont/headscale/commit/1ea5dfc9f1b4c08bac7a32db89d1bc700250c1d3) Rework lint github actions - [`1ed450a`](https://github.com/juanfont/headscale/commit/1ed450adada360649533bc7a6d14976caefaf72d) Remove golint, it is deprecated and archive - [`ac37b0f`](https://github.com/juanfont/headscale/commit/ac37b0fd12a6dfe5e2ff2b15477df39a0ddcb11d) Prettier checkout change - [`ae030ad`](https://github.com/juanfont/headscale/commit/ae030ad6009c2d00bc62efa2490efba27c3f7a7c) Revert last commit - [`2260656`](https://github.com/juanfont/headscale/commit/2260656496ad52cf41286c3847b919f576c872a6) try new pattern - [`a5119ae`](https://github.com/juanfont/headscale/commit/a5119ae758564583c026dc033848b4f5af264514) rename golanglint - [`aa40d3d`](https://github.com/juanfont/headscale/commit/aa40d3d16b6fc1b92d35880a33b183ba89c91aa1) Merge branch 'main' into golang-ci-lint-config ### 📊 Changes **3 files changed** (+35 additions, -29 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/lint.yml` (+17 -27) ➕ `.golangci.yaml` (+17 -0) 📝 `Makefile` (+1 -2) </details> ### 📄 Description This PR adds golangci-lint config with a lot more linters. It will definitively fail, a lot, so might have to disable it for a while until we have it in order. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 02:29:37 +01:00
adam closed this issue 2025-12-29 02:29:37 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#1304