From 1548db2c7ebc35a27197d0a4941961b3c0bd9849 Mon Sep 17 00:00:00 2001 From: Austin Vazquez Date: Mon, 22 Jun 2026 11:41:05 -0500 Subject: [PATCH 1/3] ci: bump golangci/golangci-lint-action v9.2.1 Signed-off-by: Austin Vazquez --- .github/workflows/pr.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 1ddf0eb..88c52c3 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -56,6 +56,6 @@ jobs: go-version: "1.26.x" - name: Run golangci-lint - uses: golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8 # v6.1.1 + uses: golangci/golangci-lint-action@82606bf257cbaff209d206a39f5134f0cfbfd2ee # v9.2.1 with: version: v2.1.6 From 69478438e4116bffcfd7d7a8934b329652d0c245 Mon Sep 17 00:00:00 2001 From: Austin Vazquez Date: Mon, 22 Jun 2026 11:42:47 -0500 Subject: [PATCH 2/3] ci: bump golangci-lint v2.12.2 Signed-off-by: Austin Vazquez --- .github/workflows/pr.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 88c52c3..abffd9d 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -58,4 +58,4 @@ jobs: - name: Run golangci-lint uses: golangci/golangci-lint-action@82606bf257cbaff209d206a39f5134f0cfbfd2ee # v9.2.1 with: - version: v2.1.6 + version: v2.12.2 From e537c3fb6f51a1e10161f4c6832ad4140504d3ed Mon Sep 17 00:00:00 2001 From: Austin Vazquez Date: Mon, 22 Jun 2026 11:47:14 -0500 Subject: [PATCH 3/3] chore: add missing headers Signed-off-by: Austin Vazquez --- .githooks/pre-push | 15 +++++++++++++++ Makefile | 14 ++++++++++++++ 2 files changed, 29 insertions(+) diff --git a/.githooks/pre-push b/.githooks/pre-push index e32bd02..660d2a1 100755 --- a/.githooks/pre-push +++ b/.githooks/pre-push @@ -1,4 +1,19 @@ #!/bin/sh + +# Copyright The containerd Authors. + +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at + +# http://www.apache.org/licenses/LICENSE-2.0 + +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # Pre-push hook: when pushing a tag, verify that the Version const in # version.go matches the tag being pushed. # diff --git a/Makefile b/Makefile index 60d8dba..1bca9f4 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,17 @@ +# Copyright The containerd Authors. + +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at + +# http://www.apache.org/licenses/LICENSE-2.0 + +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + GO ?= go GO_BUILDTAGS ?= # On Windows the test binary must have the .exe extension to be executable.