diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index c372a920..7a069e1b 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -33,9 +33,19 @@ jobs: VERSION: ${{ steps.gen-version.outputs.VERSION }} run: ./scripts/check_sec-scanners-config.sh $VERSION + unit-test: + name: "Run unit tests" + needs: verify-release + uses: kyma-project/eventing-tools/.github/workflows/unit-test-reusable.yml@main + + lint-golang: + name: "Run golangci-lint" + needs: verify-release + uses: kyma-project/eventing-tools/.github/workflows/lint-reusable.yml@main + create-draft: name: Create draft release - needs: verify-head-status + needs: [verify-release, lint-golang, unit-test] runs-on: ubuntu-latest env: VERSION: ${{ needs.verify-release.outputs.VERSION }} @@ -81,7 +91,7 @@ jobs: publish-release: name: Publish release - needs: [verify-head-status, create-draft] + needs: [verify-release, create-draft] runs-on: ubuntu-latest steps: diff --git a/.github/workflows/test.yml b/.github/workflows/unit-test.yml similarity index 94% rename from .github/workflows/test.yml rename to .github/workflows/unit-test.yml index b65d46a7..ffb8c80e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/unit-test.yml @@ -24,4 +24,5 @@ on: jobs: unit-test: + name: "Run unit tests" uses: kyma-project/eventing-tools/.github/workflows/unit-test-reusable.yml@main