This is an automated email from the ASF dual-hosted git repository.

kichan pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/trafficserver-ingress-controller.git


The following commit(s) were added to refs/heads/master by this push:
     new 71db8cb  Update go.mod (#212)
71db8cb is described below

commit 71db8cb774b93d8dc439b3d510e6da63e682559f
Author: Kit Chan <[email protected]>
AuthorDate: Sat May 4 18:15:10 2024 -0700

    Update go.mod (#212)
    
    * Update go.mod
    
    * Update golangci-lint.yml
    
    * Update .golangci.yaml
---
 .github/workflows/golangci-lint.yml | 6 +++---
 .golangci.yaml                      | 4 ----
 go.mod                              | 2 +-
 3 files changed, 4 insertions(+), 8 deletions(-)

diff --git a/.github/workflows/golangci-lint.yml 
b/.github/workflows/golangci-lint.yml
index fc6a266..f75639a 100644
--- a/.github/workflows/golangci-lint.yml
+++ b/.github/workflows/golangci-lint.yml
@@ -44,15 +44,15 @@ jobs:
 
     steps:
       - name: Check out code into the Go module directory
-        uses: actions/checkout@v3
+        uses: actions/checkout@v4
       - name: go-version
         run: echo "::set-output name=value::$(cat GO_VERSION)"
         id: go-version
-      - uses: actions/setup-go@v3
+      - uses: actions/setup-go@v5
         with:
           go-version: ${{ steps.go-version.outputs.value }}
       - name: golangci-lint
-        uses: golangci/golangci-lint-action@v3
+        uses: golangci/golangci-lint-action@v5
         with:
           version: latest
           args: --timeout=10m
diff --git a/.golangci.yaml b/.golangci.yaml
index 17b9f00..4c90a48 100644
--- a/.golangci.yaml
+++ b/.golangci.yaml
@@ -18,16 +18,12 @@
 linters:
   disable-all: true
   enable:
-    - deadcode
     - errcheck
     - gosimple
     - govet
     - ineffassign
     - staticcheck
-    - structcheck
-    - typecheck
     - unused
-    - varcheck
 
 # Options for analysis running.
 run:
diff --git a/go.mod b/go.mod
index f85a039..ff9fcf8 100644
--- a/go.mod
+++ b/go.mod
@@ -1,6 +1,6 @@
 module github.com/apache/trafficserver-ingress-controller
 
-go 1.21
+go 1.21.9
 
 require (
        github.com/alicebob/miniredis/v2 v2.31.1

Reply via email to