From 2d6d4e84ff7e5b82118f26c13895585e6b6c2839 Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Thu, 7 Mar 2024 19:37:58 +0100 Subject: [PATCH] .github/workflows/test.yml: run tests on alpine linux. --- .github/workflows/test.yml | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ca634f7..f33a3c4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -25,4 +25,23 @@ jobs: run: go test -v ./... - name: Test API - run: cd api; go test -v ./... \ No newline at end of file + run: cd api; go test -v ./... + + test-alpine: + strategy: + fail-fast: false + matrix: + tag: ["1.20-alpine3.19", "1.21-alpine3.19"] + runs-on: ubuntu-latest + name: Test alpine (${{ matrix.tag }}) + container: + image: golang:${{ matrix.tag }} + steps: + - uses: actions/checkout@v4 + + - name: Test + run: go test -v ./... + + - name: Test API + run: cd api; go test -v ./... +