Removing lint from make test, running in parallel
This commit is contained in:
parent
8ab7b0b164
commit
f16d64ee67
|
|
@ -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 }}
|
||||
|
|
|
|||
4
Makefile
4
Makefile
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue