From 97a7db0b0dbcdd6be1e760a2b559ab23eb998c6d Mon Sep 17 00:00:00 2001 From: Luke Bakken Date: Fri, 8 Sep 2023 08:13:08 -0700 Subject: [PATCH] Bump versions Golang 1.19 is no longer supported. Usa oldstable and stable aliases Since actions/setup-go v3, we can use oldstable and stable aliases to always refer to the two latest supported versions of Go. Signed-off-by: Aitor Perez Cedres --- .ci/versions.json | 4 ++-- .github/workflows/golangci-lint.yml | 2 +- .github/workflows/tests.yml | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.ci/versions.json b/.ci/versions.json index fed4526..602c19a 100644 --- a/.ci/versions.json +++ b/.ci/versions.json @@ -1,4 +1,4 @@ { - "erlang": "26.0.2", - "rabbitmq": "3.13.0-beta.3" + "erlang": "26.1", + "rabbitmq": "3.12.4" } diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index e1d3572..a510ef7 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -16,7 +16,7 @@ jobs: steps: - uses: actions/setup-go@v3 with: - go-version: '1.19' + go-version: 'stable' check-latest: true - uses: actions/checkout@v3 - uses: golangci/golangci-lint-action@v3 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e04781b..672125b 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -13,7 +13,7 @@ jobs: strategy: fail-fast: true matrix: - go-version: ['1.19', '1.20'] + go-version: ['oldstable', 'stable'] steps: - uses: actions/checkout@v3 - uses: actions/setup-go@v3 @@ -36,7 +36,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - go-version: ['1.19', '1.20'] + go-version: ['oldstable', 'stable'] services: rabbitmq: image: rabbitmq