Update golangci-lint and turn it on in CI

This commit is contained in:
Dmitry Kropachev
2024-06-14 13:07:21 -04:00
committed by Sylwia Szunejko
parent a9ab270196
commit ab80d70106
37 changed files with 225 additions and 151 deletions

View File

@@ -17,7 +17,8 @@ jobs:
steps:
- name: Git Checkout
uses: actions/checkout@v3
with:
fetch-depth: '0'
- name: Install Go 1.17
uses: actions/setup-go@v3
with:
@@ -33,18 +34,14 @@ jobs:
${{ runner.os }}-go-
- name: Make Directory for GOBIN
run: mkdir -p ${GOBIN}
run: mkdir -p "${GOBIN}"
- name: Download Dependencies
run: make get-deps
# - name: Lint
# uses: golangci/golangci-lint-action@v3
# with:
# version: v1.45.2
- run: go vet ./...
run: git --version && make get-deps && make get-tools
- name: Lint
run: make check
- name: Run Scylla Container
run: make run-scylla