From b588d2fdc736fd3bcba17f079e4a03266d5da2d6 Mon Sep 17 00:00:00 2001 From: Mike Fridman Date: Fri, 16 Aug 2024 08:38:03 -0400 Subject: [PATCH 1/2] chore: switch ci to use oldstable, stable --- .github/workflows/build.yml | 2 +- .github/workflows/lint.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 753bca5e..d6291ca2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,7 +13,7 @@ jobs: strategy: fail-fast: false matrix: - go: ["1.20", "1.21", "1.22"] + go: [oldstable, stable] steps: - name: Checkout uses: actions/checkout@v4 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 6d572866..522c4c07 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -14,7 +14,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v5 with: - go-version: "1.22" + go-version: stable check-latest: true - name: golangci-lint uses: golangci/golangci-lint-action@v6 From e51912de75ef64f5b594273871f9aa64ef18bf6e Mon Sep 17 00:00:00 2001 From: Mike Fridman Date: Fri, 16 Aug 2024 08:42:19 -0400 Subject: [PATCH 2/2] revert back to explicit --- .github/workflows/build.yml | 2 +- .github/workflows/lint.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d6291ca2..032eb767 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,7 +13,7 @@ jobs: strategy: fail-fast: false matrix: - go: [oldstable, stable] + go: ["1.21", "1.22", "1.23"] steps: - name: Checkout uses: actions/checkout@v4 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 522c4c07..cec3b92b 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -14,7 +14,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v5 with: - go-version: stable + go-version: "1.23" check-latest: true - name: golangci-lint uses: golangci/golangci-lint-action@v6