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:
- 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