From 28623dbc1562b0d75918c09bb34f5d3f13952cec Mon Sep 17 00:00:00 2001 From: taako-502 Date: Mon, 4 Mar 2024 14:16:46 +0200 Subject: [PATCH] =?UTF-8?q?chore:=20=E3=82=AD=E3=83=A3=E3=83=83=E3=82=B7?= =?UTF-8?q?=E3=83=A5=E3=81=AE=E8=A8=AD=E5=AE=9A=E3=82=92=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/test.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 73ccecf..7bbae99 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,13 +18,17 @@ jobs: - 27017:27017 steps: + - name: Check out code into the Go module directory + uses: actions/checkout@v4 + - name: Set up Go uses: actions/setup-go@v5 with: - go-version: "1.22" - - - name: Check out code into the Go module directory - uses: actions/checkout@v4 + go-version-file: "go.mod" + check-latest: true + cache-dependency-path: | + go.mod + go.sum - name: Get dependencies run: go mod download