Repository: tektoncd/pipeline (language: go)

Issue:
Migrate `golangci-lint` to a container for local run
Now that we have a [workflow](https://github.com/tektoncd/pipeline/blob/main/.github/workflows/golangci-lint.yaml), we should migrate the way user can run `golangci-lint`.

Today, we use [`tools/go.mod`](https://github.com/tektoncd/pipeline/blob/main/tools/go.mod#L7) to specify the version, but it is already specified in the [workflow](https://github.com/tektoncd/pipeline/blob/main/.github/workflows/golangci-lint.yaml#L24).
The idea would be the following:
- Removing `golangci-lint` import in `tools`
- Create a `Makefile` target that runs a containers (using `docker` or `podman`) that runs the version specified in [workflow](https://github.com/tektoncd/pipeline/blob/main/.github/workflows/golangci-lint.yaml) and use that for the `golangci/golangci-lint:{version}` tag.


Discussion / hints:
Hey @vdemeester thanks for raising this issue. I would like to tackle this issue. 
/assign @malinjawi 
Hi @vdemeester, hi @malinjawi!

It looks like this issue can be closed. It was done by those PRs #8577, #8594.

The only thing left is to remove [this](https://github.com/tektoncd/pipeline/blob/main/Makefile#L12) comment in the Makefile 😃 . I will open a small PR with corrections in the documentation and will remove this line also.

Fix patch:
diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md
index e83a41de263..c0ae2c1a558 100644
--- a/DEVELOPMENT.md
+++ b/DEVELOPMENT.md
@@ -95,6 +95,12 @@ You must install these tools:
 
 1. [`go-licenses`](https://github.com/google/go-licenses) is used in e2e tests.
 
+1. (Optional)
+   [`yamllint`](https://github.com/adrienverge/yamllint?tab=readme-ov-file#installation)
+   is run against every PR as part of `pre-commit`. You may want to install this tool
+   so that `pre-commit` can use it, otherwise it will show a `failed` message for
+   when linting yaml files.
+
 1. (Optional)
    [`golangci-lint`](https://golangci-lint.run/welcome/install/#local-installation)
    is run against every PR. You may want to install and [run this tool
@@ -303,7 +309,7 @@ The recommended minimum development configuration is:
 4. Configure [ko](https://kind.sigs.k8s.io/):
 
    ```sh
-   $ export KO_DOCKER_REPO="kind.local"
+   $ export KO_DOCKER_REPO="localhost:5000"
    $ export KIND_CLUSTER_NAME="kind"  # only needed if you used a custom name in the previous step
    ```
 
diff --git a/Makefile b/Makefile
index 1022c842219..8787b261ce6 100644
--- a/Makefile
+++ b/Makefile
@@ -9,7 +9,6 @@ TESTPKGS = $(shell env GO111MODULE=on $(GO) list -f \
 BIN      = $(CURDIR)/.bin
 WOKE 	?= go run -modfile go.mod github.com/get-woke/woke
 
-# Get golangci_version from tools/go.mod
 GOLANGCI_VERSION := $(shell yq '.jobs.linting.steps[] | select(.name == "golangci-lint") | .with.version' .github/workflows/ci.yaml)
 WOKE_VERSION     = v0.19.0
 


Test patch:
diff --git a/test/README.md b/test/README.md
index 321e7edf427..951159f4b26 100644
--- a/test/README.md
+++ b/test/README.md
@@ -410,7 +410,7 @@ via the sections for `tektoncd/pipeline`.
 
 The presubmit integration tests entrypoint will run:
 
-- [The integration tests](#integration-tests)
+- [The integration tests](#end-to-end-tests)
 - A test of [our example CRDs](../examples/README.md#testing-the-examples)
 
 When run using Prow, integration tests will try to get a new cluster using