From 1a1720f0e67e954fc878a88fafab797eb275ba33 Mon Sep 17 00:00:00 2001 From: hirosassa Date: Sun, 15 Dec 2024 07:40:46 +0900 Subject: [PATCH] update actions version --- .github/workflows/release.yaml | 11 ++++------- .github/workflows/test.yml | 12 ++++++------ 2 files changed, 10 insertions(+), 13 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index d71659f..4bda1b4 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -21,18 +21,15 @@ jobs: BIN_NAME: bqls steps: - - uses: actions/checkout@v3 - with: - fetch-depth: 0 - + - uses: actions/checkout@v4 - name: setup Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version-file: go.mod cache: true - name: cache for linux - uses: actions/cache@v3 + uses: actions/cache@v4 if: runner.os == 'Linux' with: path: | @@ -43,7 +40,7 @@ jobs: ${{ runner.os }}-go- - name: cache for macOS - uses: actions/cache@v3 + uses: actions/cache@v4 if: runner.os == 'macOS' with: path: | diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d806b96..9f8abdd 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,14 +11,14 @@ jobs: runs-on: ubuntu-latest steps: - name: checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: setup Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version-file: go.mod cache: true - name: cache for linux - uses: actions/cache@v3 + uses: actions/cache@v4 if: runner.os == 'Linux' with: path: | @@ -46,14 +46,14 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: setup Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version-file: go.mod cache: true - name: cache for linux - uses: actions/cache@v3 + uses: actions/cache@v4 if: runner.os == 'Linux' with: path: |