From 5d5932fddc2595d7f609fefeb90609a6820e2da3 Mon Sep 17 00:00:00 2001
From: free5gc-org <free5gc.org@gmail.com>
Date: Fri, 8 Apr 2022 17:17:41 +0000
Subject: [PATCH] fix golangci-lint error

---
 .github/workflows/golangci-lint.yml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml
index 72f27e4..f2f96ce 100644
--- a/.github/workflows/golangci-lint.yml
+++ b/.github/workflows/golangci-lint.yml
@@ -14,12 +14,17 @@ jobs:
     name: lint
     runs-on: ubuntu-latest
     steps:
+      - name: Set up Go
+        uses: actions/setup-go@v2
+        with:
+          go-version: '1.14.4'
       - uses: actions/checkout@v2
       - name: Run golangci-lint
         uses: golangci/golangci-lint-action@v2
         with:
           # Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
           version: v1.35.0
+          skip-go-installation: true
 
           # Optional: working directory, useful for monorepos
           # working-directory: somedir
-- 
GitLab