From 8a5bd10fe3093d09bc5ec5c12a3752a9a1edc54e Mon Sep 17 00:00:00 2001 From: Jorge Niedbalski Date: Fri, 15 Sep 2023 12:59:24 +0200 Subject: [PATCH] update golang version Signed-off-by: Jorge Niedbalski --- .github/workflows/ci.yaml | 2 +- .github/workflows/lint.yaml | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 4ff1f5a..722a0c5 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -19,7 +19,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v4 with: - go-version: "1.21" + go-version-file: go.mod - name: Unit tests run: | diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index d5bb845..3ae0281 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -35,6 +35,10 @@ jobs: name: PR - GO lint steps: - uses: actions/checkout@v3 + - name: Set up Go + uses: actions/setup-go@v4 + with: + go-version-file: go.mod - run: | go generate ./...