From a5d68746a0c009e60cb288bb14b5936f647939c1 Mon Sep 17 00:00:00 2001 From: Marc Cataford Date: Wed, 31 Jan 2024 23:00:38 -0500 Subject: [PATCH] refactor(ci): define single go version --- .github/workflows/ci.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index eaae1a4..e850cda 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -6,6 +6,9 @@ on: branches: - main +env: + GO_VERSION: '1.21' + jobs: tests: name: "Tests" @@ -14,7 +17,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v4 with: - go-version: '1.21' + go-version: ${{ env.GO_VERSION }} - run: . scripts/test integration-tests: name: "Integration tests" @@ -25,5 +28,5 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v4 with: - go-version: '1.21' + go-version: ${{ env.GO_VERSION }} - run: . integration/install_specific_version