From 116f1127c7127bc0189f0675a8051a5552940072 Mon Sep 17 00:00:00 2001 From: Daichi Hirata Date: Wed, 12 Apr 2023 17:16:37 +0900 Subject: [PATCH] Bump up version of actions/checkout and actions/setup-go --- .github/workflows/release.yaml | 4 ++-- .github/workflows/test.yaml | 10 ++++++---- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index cd0f9b7..c4cb080 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -8,11 +8,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 - name: Set up Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v4 with: go-version: 1.20.x - name: Run GoReleaser diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 2046b3a..6090b85 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -15,12 +15,14 @@ jobs: - windows-latest runs-on: ${{ matrix.platform }} steps: - - name: Install Go - uses: actions/setup-go@v2 + - name: Checkout + uses: actions/checkout@v3 + with: + fetch-depth: 0 + - name: Set up Go + uses: actions/setup-go@v4 with: go-version: ${{ matrix.go-version }} - - name: Check out code - uses: actions/checkout@v2 - name: Get dependencies run: go mod download - name: Test