Skip to content

Commit

Permalink
ci: bump github actions (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
matheusfm authored Nov 14, 2023
1 parent a2fb093 commit c12abf8
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,22 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: fetch tags
run: git fetch --force --tags

- name: setup go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: '>=1.20.1'
go-version-file: 'go.mod'
cache: true

- name: release
id: goreleaser
uses: goreleaser/goreleaser-action@v4
uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
version: latest
Expand All @@ -41,21 +41,21 @@ jobs:
uses: rajatjindal/krew-release-bot@v0.0.46

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

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

- name: login
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: metadata
id: meta
uses: docker/metadata-action@v4
uses: docker/metadata-action@v5
with:
images: ghcr.io/${{ github.repository }}

Expand All @@ -65,7 +65,7 @@ jobs:
cat Dockerfile.cross
- name: build and push
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
build-args: |
VERSION${{ fromJSON(steps.goreleaser.outputs.metadata).version }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: setup go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: '>=1.20.1'
go-version-file: 'go.mod'
cache: true

- name: test
Expand Down

0 comments on commit c12abf8

Please sign in to comment.