Skip to content

Commit

Permalink
GHA: update action versions
Browse files Browse the repository at this point in the history
  • Loading branch information
saltydk authored Oct 11, 2024
1 parent d8007b8 commit e6c8921
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,25 +14,25 @@ jobs:
steps:
# dependencies
- name: Install GoReleaser
uses: goreleaser/goreleaser-action@v4
uses: goreleaser/goreleaser-action@v6
with:
install-only: true

- name: qemu
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3

- name: buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

# checkout
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

# setup go
- name: go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: 1.16

Expand All @@ -43,7 +43,7 @@ jobs:
# cache
- name: cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: vendor
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
Expand Down Expand Up @@ -79,7 +79,7 @@ jobs:
# artifacts
- name: artifact_linux
if: ${{!github.event.repository.private}}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: build_linux
path: dist/*linux*
Expand All @@ -102,7 +102,7 @@ jobs:

- name: docker - build release
if: startsWith(github.ref, 'refs/tags/') == true
uses: docker/build-push-action@v4
uses: docker/build-push-action@v6
with:
context: .
file: ./docker/Dockerfile
Expand All @@ -117,7 +117,7 @@ jobs:
- name: branch name
if: startsWith(github.ref, 'refs/tags/') == false
id: branch-name
uses: tj-actions/branch-names@v7
uses: tj-actions/branch-names@v8

- name: docker tag
if: startsWith(github.ref, 'refs/tags/') == false
Expand All @@ -131,7 +131,7 @@ jobs:

- name: docker - build branch
if: startsWith(github.ref, 'refs/tags/') == false
uses: docker/build-push-action@v4
uses: docker/build-push-action@v6
with:
context: .
file: ./docker/Dockerfile
Expand All @@ -144,4 +144,4 @@ jobs:
# cleanup
- name: cleanup
run: |
rm -f ${HOME}/.docker/config.json
rm -f ${HOME}/.docker/config.json

0 comments on commit e6c8921

Please sign in to comment.