From 8d4c38b48ee6670f261f82c448f509b95bdc02c3 Mon Sep 17 00:00:00 2001 From: Ben Reedy Date: Sun, 12 Mar 2023 11:06:06 +1000 Subject: [PATCH] chore(ci): Update golangci-lint to v1.51.2 Signed-off-by: Ben Reedy --- .github/workflows/lint.yml | 2 +- headers/netapi32/netapi32.go | 2 +- initiate/initiate.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index b58b12ec..2ae8a911 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -94,7 +94,7 @@ jobs: - name: golangci-lint uses: golangci/golangci-lint-action@v3 with: - version: v1.45.2 + version: v1.51.2 args: "--timeout=5m" # golangci-lint action doesn't always provide helpful output, so re-run without the action for diff --git a/headers/netapi32/netapi32.go b/headers/netapi32/netapi32.go index cc536d30..ce6f9a1f 100644 --- a/headers/netapi32/netapi32.go +++ b/headers/netapi32/netapi32.go @@ -8,7 +8,7 @@ import ( ) // WKSTAInfo102 is a wrapper of WKSTA_Info_102 -//https://docs.microsoft.com/en-us/windows/win32/api/lmwksta/ns-lmwksta-wksta_info_102 +// https://docs.microsoft.com/en-us/windows/win32/api/lmwksta/ns-lmwksta-wksta_info_102 type wKSTAInfo102 struct { wki102_platform_id uint32 wki102_computername *uint16 diff --git a/initiate/initiate.go b/initiate/initiate.go index 9b4c08e8..833d9b0b 100644 --- a/initiate/initiate.go +++ b/initiate/initiate.go @@ -1,4 +1,4 @@ -//This package allows us to initiate Time Sensitive components (Like registering the windows service) as early as possible in the startup process +// This package allows us to initiate Time Sensitive components (Like registering the windows service) as early as possible in the startup process package initiate import (