From b062832ee4bde58957de77643228766c92661d02 Mon Sep 17 00:00:00 2001 From: Christer Edvartsen Date: Fri, 20 Dec 2024 13:54:04 +0100 Subject: [PATCH] Adjust workflow steps to run all required targets --- .github/workflows/main.yaml | 7 +++---- .github/workflows/pr.yaml | 7 +++---- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index ea1b136..5999786 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -45,10 +45,9 @@ jobs: ${{ steps.go-cache.outputs.gocache }} ${{ steps.go-cache.outputs.gomodcache }} key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} - - run: go test ./... - - run: helm lint --strict ./charts - - run: make staticcheck - - run: make vulncheck + - run: make test + - run: make helm-lint + - run: make check - name: Check code format and run code generators run: | make fmt diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index 4cc5243..ec3a14b 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -36,10 +36,9 @@ jobs: ${{ steps.go-cache.outputs.gocache }} ${{ steps.go-cache.outputs.gomodcache }} key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} - - run: go test ./... - - run: helm lint --strict ./charts - - run: make staticcheck - - run: make vulncheck + - run: make test + - run: make helm-lint + - run: make check - name: Check code format and run code generators run: | make fmt