Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update actions version #189

Merged
merged 1 commit into from
Dec 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 4 additions & 7 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,15 @@ jobs:
BIN_NAME: bqls

steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- uses: actions/checkout@v4
Copy link
Contributor Author

@hirosassa hirosassa Dec 14, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In checkout@v4, default value of fetch-depth is 1. We can remove this line.
ref: https://github.com/actions/checkout

- 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: |
Expand All @@ -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: |
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down Expand Up @@ -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: |
Expand Down
Loading