From 0963f392e0fb016ce55f967cad5ec0364ad28aa7 Mon Sep 17 00:00:00 2001 From: Eric Chiang Date: Tue, 19 Mar 2024 09:45:15 -0700 Subject: [PATCH] updated github actions --- .github/workflows/test.yaml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 0d42963f..6d9cccbe 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -9,15 +9,16 @@ on: jobs: build: - name: Linux runs-on: ubuntu-latest + strategy: + matrix: + go: ['1.21', '1.22'] + name: Linux Go ${{ matrix.go }} steps: - - name: Set up Go 1.19 - uses: actions/setup-go@v2 + - uses: actions/checkout@v4 + - name: Setup go + uses: actions/setup-go@v5 with: - go-version: '1.19' - id: go - - name: Check out code into the Go module directory - uses: actions/checkout@v2 + go-version: ${{ matrix.go }} - name: Test run: "./test"