From 9609d12e39a8d61ccac7322c7de144c55caa7438 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Omar=20Vergara=20P=C3=A9rez?= Date: Wed, 21 Sep 2022 11:12:02 -0500 Subject: [PATCH] ci(actions): fix the linter workflow --- .github/workflows/lint.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index ee05fbe..02f5ca6 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -6,17 +6,17 @@ jobs: linters: runs-on: ubuntu-latest steps: + # Checks out our code locally so we can work with the files. + - name: Checkout code + uses: actions/checkout@v3 # Installs go using a single version. - name: Install Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: go-version: 1.16.x - # Checks out our code locally so we can work with the files. - - name: Checkout code - uses: actions/checkout@v2 # Runs the default linters provided by golangci-lint plus golint and godot. - name: Run linters - uses: golangci/golangci-lint-action@v2 + uses: golangci/golangci-lint-action@v3 with: - version: v1.39 - args: --enable=golint --enable=godot + version: v1.46 + arg s: --enable=golint --enable=godot