Update golangci-lint and turn it on in CI
This commit is contained in:
committed by
Sylwia Szunejko
parent
a9ab270196
commit
ab80d70106
17
.github/workflows/main.yml
vendored
17
.github/workflows/main.yml
vendored
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user