Skip to content

Commit

Permalink
CI: use actions/checkout@v4, enable fetch-tags
Browse files Browse the repository at this point in the history
  • Loading branch information
macno committed Oct 8, 2023
1 parent 3271a60 commit a5be75e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ jobs:
id: go

- name: Check out code into the Go module directory
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-tags: true

- name: Check version
run: DEBUG=true ./ci/version
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ jobs:
go-version: 1.21
check-latest: true
- name: Checkout
uses: actions/checkout@v2
- name: Fetch tag
run: git fetch -f origin ${{ github.ref }}:${{ github.ref }}
uses: actions/checkout@v4
with:
fetch-tags: true
- name: Cross build
run: |
GOOS=linux GOARCH=386 make -e buildx
Expand Down

0 comments on commit a5be75e

Please sign in to comment.