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: |