From 224211555d43c70e31713c31e540fe2b9f00ccb2 Mon Sep 17 00:00:00 2001 From: Kir Kolyshkin Date: Tue, 13 Aug 2024 18:50:35 -0700 Subject: [PATCH] ci/gha: add test-all and validate-all jobs The sole reason is to simplify branch protection rules, requiring just these to be passed. Signed-off-by: Kir Kolyshkin --- .github/workflows/test.yml | 3 +++ .github/workflows/validate.yml | 16 ++++++++++++++++ 2 files changed, 19 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 73cbf652d92..e56340bc7f3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -233,3 +233,6 @@ jobs: env: EXTRA_BUILDTAGS: ${{ matrix.dmz }} run: sudo -E PATH="$PATH" -- make GOARCH=386 localunittest + + all-test: + needs: test cross-i386 diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index eb0746ef407..e654f386d02 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -234,3 +234,19 @@ jobs: cd tests/integration ./bootstrap-get-images.sh > get-images.sh git diff --exit-code + + validate-all: + needs: + - cfmt + - codespell + - commit + - compile-buildtags + - deps + - get-images + - go-fix + - keyring + - lint + - release + - shellcheck + - shfmt + - space-at-eol