diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 4728447..a221f4c 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -33,15 +33,15 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Set up Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v4 with: go-version: '1.21' # Change this to your desired Go version - name: Install linter - run: go install golang.org/x/lint/golint + run: go mod download golang.org/x/lint - name: Lint Golang code run: golint ./...