From b142d75d36e7884cdcc6a509a47ca015bc30b70b Mon Sep 17 00:00:00 2001 From: Priyagupta108 Date: Wed, 9 Oct 2024 15:47:36 +0530 Subject: [PATCH 1/3] =?UTF-8?q?Update=C2=A0workflows=20and=20bump=20depend?= =?UTF-8?q?encies?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../workflows/release-new-action-version.yml | 2 +- .github/workflows/versions.yml | 24 ++++++++++--------- package-lock.json | 8 +++---- 3 files changed, 18 insertions(+), 16 deletions(-) diff --git a/.github/workflows/release-new-action-version.yml b/.github/workflows/release-new-action-version.yml index d8171ef88..7e5de347a 100644 --- a/.github/workflows/release-new-action-version.yml +++ b/.github/workflows/release-new-action-version.yml @@ -22,7 +22,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Update the ${{ env.TAG_NAME }} tag - uses: actions/publish-action@v0.2.2 + uses: actions/publish-action@v0.3.0 with: source-tag: ${{ env.TAG_NAME }} slack-webhook: ${{ secrets.SLACK_WEBHOOK }} diff --git a/.github/workflows/versions.yml b/.github/workflows/versions.yml index 76fcead00..13bea42df 100644 --- a/.github/workflows/versions.yml +++ b/.github/workflows/versions.yml @@ -18,7 +18,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, windows-latest, macos-latest] + os: [ubuntu-latest, windows-latest, macos-latest, macos-13] steps: - uses: actions/checkout@v4 - name: Setup Go Stable @@ -33,7 +33,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, windows-latest, macos-latest] + os: [ubuntu-latest, windows-latest, macos-latest, macos-13] steps: - uses: actions/checkout@v4 - name: Setup Go oldStable @@ -48,12 +48,14 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, windows-latest, macos-latest] + os: [ubuntu-latest, windows-latest, macos-latest, macos-13] version: [stable, oldstable] architecture: [x64, x32] exclude: - os: macos-latest architecture: x32 + - os: macos-13 + architecture: x32 steps: - uses: actions/checkout@v4 - name: Setup Go ${{ matrix.version }} ${{ matrix.architecture }} @@ -70,8 +72,8 @@ jobs: strategy: fail-fast: false matrix: - os: [macos-latest, windows-latest, ubuntu-latest] - go: [1.20.14, 1.21.10, 1.22.3] + os: [macos-latest, windows-latest, ubuntu-latest, macos-13] + go: [1.21.13, 1.22.7] steps: - name: Checkout uses: actions/checkout@v4 @@ -90,7 +92,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, windows-latest, macos-latest] + os: [ubuntu-latest, windows-latest, macos-latest, macos-13] go-version: [1.20.14, 1.21] steps: - uses: actions/checkout@v4 @@ -107,7 +109,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, windows-latest, macos-latest] + os: [ubuntu-latest, windows-latest, macos-latest, macos-13] steps: - uses: actions/checkout@v4 - name: Setup Go and check latest @@ -123,7 +125,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, windows-latest, macos-latest] + os: [ubuntu-latest, windows-latest, macos-latest, macos-13] steps: - uses: actions/checkout@v4 - name: Setup Go and check latest @@ -140,7 +142,7 @@ jobs: strategy: fail-fast: false matrix: - os: [macos-latest, windows-latest, ubuntu-latest] + os: [macos-latest, windows-latest, ubuntu-latest, macos-13] go: [1.20.14, 1.21.10, 1.22.3] steps: - name: Checkout @@ -161,7 +163,7 @@ jobs: strategy: fail-fast: false matrix: - os: [macos-latest, windows-latest, ubuntu-latest] + os: [macos-latest, windows-latest, ubuntu-latest, macos-13] go: [1.20.14, 1.21] steps: - name: Checkout @@ -181,7 +183,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, windows-latest, macos-latest] + os: [ubuntu-latest, windows-latest, macos-latest, macos-13] go-version: [1.20.14, 1.21] steps: - uses: actions/checkout@v4 diff --git a/package-lock.json b/package-lock.json index 5cb8fbf73..c51f97c27 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4559,12 +4559,12 @@ } }, "node_modules/micromatch": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", - "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", + "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", "dev": true, "dependencies": { - "braces": "^3.0.2", + "braces": "^3.0.3", "picomatch": "^2.3.1" }, "engines": { From a3e59301fe747eaa10db459a488afe2919b0b989 Mon Sep 17 00:00:00 2001 From: Priyagupta108 Date: Mon, 14 Oct 2024 17:53:53 +0530 Subject: [PATCH 2/3] Add test for Go 1.22 and 1.23 --- .github/workflows/versions.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/versions.yml b/.github/workflows/versions.yml index 13bea42df..fca1058c2 100644 --- a/.github/workflows/versions.yml +++ b/.github/workflows/versions.yml @@ -93,7 +93,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest, macos-latest, macos-13] - go-version: [1.20.14, 1.21] + go-version: ['1.20', '1.21', '1.22', '1.23'] steps: - uses: actions/checkout@v4 - name: Setup Go and check latest @@ -137,13 +137,12 @@ jobs: shell: bash setup-versions-from-manifest: - name: Setup ${{ matrix.go }} ${{ matrix.os }} runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: os: [macos-latest, windows-latest, ubuntu-latest, macos-13] - go: [1.20.14, 1.21.10, 1.22.3] + go: [1.20.14, 1.21.10, 1.22.8, 1.23.2] steps: - name: Checkout uses: actions/checkout@v4 @@ -158,13 +157,12 @@ jobs: shell: bash setup-versions-from-dist: - name: Setup ${{ matrix.go }} ${{ matrix.os }} runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: - os: [macos-latest, windows-latest, ubuntu-latest, macos-13] - go: [1.20.14, 1.21] + os: [windows-latest, ubuntu-latest, macos-13] + go: [1.11.12] steps: - name: Checkout uses: actions/checkout@v4 @@ -184,7 +182,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest, macos-latest, macos-13] - go-version: [1.20.14, 1.21] + go-version: [1.20.14, 1.21, 1.22, 1.23] steps: - uses: actions/checkout@v4 - name: Setup Go and check latest From 96b1b3d30988c0f39b30800ad679c61ad6bf293b Mon Sep 17 00:00:00 2001 From: Priyagupta108 Date: Tue, 15 Oct 2024 16:01:38 +0530 Subject: [PATCH 3/3] 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 fca1058c2..8c718c5cb 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