From 5494657e63b491323f28714f38d41919461cff91 Mon Sep 17 00:00:00 2001 From: Tsuzu <8574909+tsuzu@users.noreply.github.com> Date: Wed, 12 Jun 2024 23:47:45 +0900 Subject: [PATCH] Update Actions workflow to follow Go version in go.mod --- .github/workflows/go.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index e4acc00..811e88c 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -13,15 +13,15 @@ jobs: GO111MODULE: on steps: - - name: Set up Go 1.15 - uses: actions/setup-go@v1 + - uses: actions/checkout@v4 + + - name: Set up Go + uses: actions/setup-go@v5 with: - go-version: 1.15 + go-version-file: 'go.mod' id: go - - uses: actions/checkout@v2 - - - uses: actions/cache@v1 + - uses: actions/cache@v4 with: path: ~/go/pkg/mod key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}