chore: use builtin action linter package (#1836)

* chore: use builtin action linter package

* fix: skip caches in golangci-lint

---------

Co-authored-by: Manu Gupta <manugupt1@gmail.com>
This commit is contained in:
Nicholas Wiersma
2023-03-13 08:11:46 +02:00
committed by GitHub
parent d2dbaeabf8
commit 986c3da1dc
+8 -1
View File
@@ -7,6 +7,9 @@ on:
jobs:
lint:
runs-on: ubuntu-latest
env:
GOLANGCI_LINT_VERSION: v1.51.2
steps:
- uses: actions/checkout@v3
- name: Set up Go
@@ -15,7 +18,11 @@ jobs:
go-version-file: 'go.mod'
cache: true
- name: Lint code
run: make lint-docker
uses: golangci/golangci-lint-action@v3
with:
version: ${{ env.GOLANGCI_LINT_VERSION }}
skip-pkg-cache: true
skip-build-cache: true
build:
env: