diff --git a/.github/workflows/test-and-build.yml b/.github/workflows/test-and-build.yml index 130977e..dfc8ec6 100644 --- a/.github/workflows/test-and-build.yml +++ b/.github/workflows/test-and-build.yml @@ -54,9 +54,6 @@ jobs: run: | go test -v ./... - - name: Execute Trivy scan - run: make trivy - - name: Build release run: make publish env: @@ -65,6 +62,9 @@ jobs: NO_TESTS: 'true' PACKAGES: '.' + - name: Execute Trivy scan + run: make trivy + - name: Extract changelog run: 'awk "/^#/ && ++c==2{exit}; /^#/f" "History.md" | tail -n +2 >release_changelog.md'