From 96b1b3d30988c0f39b30800ad679c61ad6bf293b Mon Sep 17 00:00:00 2001 From: Priyagupta108 Date: Tue, 15 Oct 2024 16:01:38 +0530 Subject: [PATCH] Update Go versions in local-cache setup and include macos-latest with ARM64 architecture --- .github/workflows/versions.yml | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/.github/workflows/versions.yml b/.github/workflows/versions.yml index fca1058..8c718c5 100644 --- a/.github/workflows/versions.yml +++ b/.github/workflows/versions.yml @@ -73,7 +73,13 @@ jobs: fail-fast: false matrix: os: [macos-latest, windows-latest, ubuntu-latest, macos-13] - go: [1.21.13, 1.22.7] + go: [1.21.13, 1.22.8, 1.23.2] + include: + - os: windows-latest + go: 1.20.14 + exclude: + - os: windows-latest + go: 1.23.2 steps: - name: Checkout uses: actions/checkout@v4 @@ -183,12 +189,21 @@ jobs: matrix: os: [ubuntu-latest, windows-latest, macos-latest, macos-13] go-version: [1.20.14, 1.21, 1.22, 1.23] + include: + - os: macos-latest + architecture: arm64 + - os: ubuntu-latest + architecture: x64 + - os: windows-latest + architecture: x64 + - os: macos-13 + architecture: x64 steps: - uses: actions/checkout@v4 - name: Setup Go and check latest uses: ./ with: go-version: ${{ matrix.go-version }} - architecture: x64 + architecture: ${{ matrix.architecture }} - name: Verify Go run: go version