ci: pin go to 1.18
@@ -25,7 +25,7 @@ jobs:
fetch-depth: 2
- uses: actions/setup-go@v2
with:
- go-version: "^1.16.1"
+ go-version: ~1.18
- name: Start service
run: ./test/conformance/start.sh
- name: Run tests
@@ -82,7 +82,7 @@ jobs:
key: ${{ needs.sdk-generate.outputs.sdk-cache-key }}
- uses: actions/setup-go@v2
with:
- go-version: ^1.17
+ go-version: ~1.18
- run: go list -json > go.list
- name: Run nancy
uses: sonatype-nexus-community/nancy-github-action@v1.0.2
@@ -125,7 +125,7 @@ jobs:
key: ${{ needs.sdk-generate.outputs.sdk-cache-key }}
- uses: actions/setup-go@v2
with:
- go-version: ^1.17
+ go-version: ~1.18
- name: Setup HSM libs and packages
run: |
sudo apt install -y softhsm opensc
@@ -176,7 +176,7 @@ jobs:
- uses: ory/ci/checkout@master
- uses: actions/setup-go@v2
with:
- go-version: ^1.16
+ go-version: ~1.18
- uses: actions/cache@v2
with:
path: ./test/e2e/hydra
