refactor(ci): define single go version

This commit is contained in:
Marc 2024-01-31 23:00:38 -05:00
parent 8b2b27961e
commit a5d68746a0
Signed by: marc
GPG key ID: 048E042F22B5DC79

View file

@ -6,6 +6,9 @@ on:
branches: branches:
- main - main
env:
GO_VERSION: '1.21'
jobs: jobs:
tests: tests:
name: "Tests" name: "Tests"
@ -14,7 +17,7 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: actions/setup-go@v4 - uses: actions/setup-go@v4
with: with:
go-version: '1.21' go-version: ${{ env.GO_VERSION }}
- run: . scripts/test - run: . scripts/test
integration-tests: integration-tests:
name: "Integration tests" name: "Integration tests"
@ -25,5 +28,5 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: actions/setup-go@v4 - uses: actions/setup-go@v4
with: with:
go-version: '1.21' go-version: ${{ env.GO_VERSION }}
- run: . integration/install_specific_version - run: . integration/install_specific_version