From 0b50bde698b2826c2bd10ba4cb3b90c05025b8bf Mon Sep 17 00:00:00 2001 From: ramin Date: Fri, 26 Apr 2024 09:46:48 +0100 Subject: [PATCH] use correct go-version --- .github/workflows/build.yaml | 2 +- .github/workflows/quality.yaml | 2 +- .github/workflows/release.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 1be2788..18e1e87 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -19,7 +19,7 @@ jobs: - uses: actions/setup-go@v3 with: - go-version: "1.19.4" # The Go version to download (if necessary) and use. + go-version-file: go.mod cache: true - name: Install dependencies diff --git a/.github/workflows/quality.yaml b/.github/workflows/quality.yaml index 707a57e..617f62a 100644 --- a/.github/workflows/quality.yaml +++ b/.github/workflows/quality.yaml @@ -26,7 +26,7 @@ jobs: - uses: actions/setup-go@v1 with: - go-version: "1.19.4" # The Go version to download (if necessary) and use. + go-version-file: go.mod - name: Install dependencies run: sudo apt-get install -y libsodium-dev libczmq-dev libzmq3-dev diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 59fbe12..209cc26 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -14,7 +14,7 @@ jobs: - uses: actions/setup-go@v1 with: - go-version: "1.19.4" # The Go version to download (if necessary) and use. + go-version-file: go.mod - name: Lint run: ./build/hack/lint-check.sh