From d957cf3750943033bd3876c43c1bff48358b0e11 Mon Sep 17 00:00:00 2001 From: Vincent Batts Date: Wed, 22 Mar 2023 10:17:41 -0400 Subject: [PATCH] github/workflows: test on multiple golang versions Signed-off-by: Vincent Batts --- .github/workflows/go.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 7266216..14353d7 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -10,13 +10,16 @@ jobs: build: runs-on: ubuntu-latest + strategy: + matrix: + go: ['1.17', '1.18', '1.19', '1.20'] steps: - uses: actions/checkout@v3 - name: Set up Go uses: actions/setup-go@v3 with: - go-version: 1.17 + go-version: ${{ matrix.go }} - name: Build run: make