From 2829f5e2e4f4bd723f9d5b2295677b63960602b6 Mon Sep 17 00:00:00 2001 From: Sebastien Blot Date: Mon, 5 Sep 2022 10:02:46 +0200 Subject: [PATCH] also run tests on static builds --- .github/workflows/go-tests-windows.yml | 6 ++++-- .github/workflows/go-tests.yml | 5 ++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/go-tests-windows.yml b/.github/workflows/go-tests-windows.yml index 618b79e80..21d458b29 100644 --- a/.github/workflows/go-tests-windows.yml +++ b/.github/workflows/go-tests-windows.yml @@ -18,7 +18,9 @@ jobs: build: name: "Build + tests" runs-on: windows-2022 - + strategy: + matrix: + build-type: ["build", "static"] steps: - name: "Set up Go 1.19" @@ -35,7 +37,7 @@ jobs: - name: Build run: | - make build + make ${{ matrix.build-type }} - name: Run tests run: | diff --git a/.github/workflows/go-tests.yml b/.github/workflows/go-tests.yml index 322bf8f42..3c709c212 100644 --- a/.github/workflows/go-tests.yml +++ b/.github/workflows/go-tests.yml @@ -33,6 +33,9 @@ jobs: build: name: "Build + tests" runs-on: ubuntu-latest + strategy: + matrix: + build-type: ["build", "static"] services: localstack: image: localstack/localstack:0.13.3 @@ -122,7 +125,7 @@ jobs: - name: Build run: | - make build + make ${{ matrix.build-type }} - name: Run tests run: |