Skip to content

Commit

Permalink
feat: updating workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
rlinstorres committed Nov 13, 2024
1 parent 8e4af59 commit cd712ce
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ jobs:
env:
GO111MODULE: on
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up GO 1.18.x
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: '1.18'
check-latest: true
Expand All @@ -31,9 +31,9 @@ jobs:
env:
GO111MODULE: on
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up GO 1.18.x
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: '1.18'
check-latest: true
Expand All @@ -49,16 +49,16 @@ jobs:
env:
GO111MODULE: on
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up GO 1.18.x
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: '1.18'
check-latest: true

- run: echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
- name: Login to Docker Hub
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
Expand All @@ -77,9 +77,9 @@ jobs:
env:
GO111MODULE: on
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up GO 1.18.x
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: '1.18'
check-latest: true
Expand All @@ -95,9 +95,9 @@ jobs:
env:
GO111MODULE: on
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up GO 1.18.x
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: '1.18'
check-latest: true
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,30 +13,30 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up GO 1.18.x
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: '1.18'
check-latest: true

- name: Import GPG key
id: import_gpg
uses: crazy-max/ghaction-import-gpg@v5
uses: crazy-max/ghaction-import-gpg@v6
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.GPG_PASSPHRASE }}
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v3
uses: goreleaser/goreleaser-action@v6
with:
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
- name: Upload assets
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
path: dist/*

0 comments on commit cd712ce

Please sign in to comment.