From bec7ef3ba4ec7fa044283a36aef3ae21bbad57cd Mon Sep 17 00:00:00 2001 From: lqs Date: Tue, 19 Nov 2024 23:12:26 +0900 Subject: [PATCH] fix go versions --- .github/workflows/go.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 1bf31d9..625544d 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -13,13 +13,16 @@ jobs: build: runs-on: ubuntu-latest + strategy: + matrix: + go-version: [ '1.21', '1.22', '1.23' ] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - name: Set up Go - uses: actions/setup-go@v3 + - name: Set up Go ${{ matrix.go-version }} + uses: actions/setup-go@v4 with: - go-version: 1.19 + go-version: ${{ matrix.go-version }} - name: Build run: go mod init github.com/lqs/grpcmix && go get -u && go build -v ./...