Removing lint from make test, running in parallel

This commit is contained in:
Eduardo Vozniak 2023-10-02 12:09:25 -03:00
parent 8ab7b0b164
commit f16d64ee67
No known key found for this signature in database
GPG Key ID: ACB52F85E23B1C50
2 changed files with 6 additions and 5 deletions

View File

@ -19,7 +19,7 @@ on:
jobs:
Lint:
name: lint
name: Lint - golangci-lint
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
@ -33,7 +33,7 @@ jobs:
version: v1.54
Tests:
needs: [Lint]
name: Tests - Executing unit tests
runs-on: ubuntu-22.04
steps:
- name: Checkout
@ -66,7 +66,8 @@ jobs:
make test
Build:
needs: [Tests]
needs: [Tests, Lint]
name: Build - Building and publishig Docker images
runs-on: ubuntu-22.04
outputs:
oauth2proxyPRTag: ${{ steps.setVariables.outputs.prTag }}

View File

@ -88,11 +88,11 @@ verify-generate: generate
git diff --exit-code
.PHONY: test
test: lint
test:
GO111MODULE=on $(GO) test $(TESTCOVER) -v ./...
.PHONY: release
release: validate-go-version lint test
release: validate-go-version test
BINARY=${BINARY} VERSION=${VERSION} ./dist.sh
.PHONY: validate-go-version