From 85df995a8ffb3c882bc64c30b2b8599ff45f50b1 Mon Sep 17 00:00:00 2001 From: knqyf263 Date: Wed, 25 Sep 2024 18:53:21 +0400 Subject: [PATCH] ci: use go-version-file Signed-off-by: knqyf263 --- .github/workflows/cron.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cron.yml b/.github/workflows/cron.yml index df53209..0f529ac 100644 --- a/.github/workflows/cron.yml +++ b/.github/workflows/cron.yml @@ -16,9 +16,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Set up Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: - go-version: 1.18 + go-version-file: go.mod id: go - name: Check out code into the Go module directory