refactor(ci): define single go version
This commit is contained in:
parent
8b2b27961e
commit
a5d68746a0
1 changed files with 5 additions and 2 deletions
7
.github/workflows/ci.yaml
vendored
7
.github/workflows/ci.yaml
vendored
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue