Skip to content

Commit

Permalink
build: fix deprecations notices
Browse files Browse the repository at this point in the history
  • Loading branch information
clementnuss committed Nov 11, 2022
1 parent 520d7cd commit 092ca81
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,10 @@ jobs:
- uses: actions/setup-go@v3
with:
go-version: 1.19
stable: true
- name: Install golangci-lint
uses: golangci/golangci-lint-action@master
with:
version: v1.50.1
skip-go-installation: true

build:
if: "!startsWith(github.ref, 'refs/tags/v')"
Expand All @@ -32,12 +30,11 @@ jobs:
uses: actions/setup-go@v3
with:
go-version: 1.19
stable: true
- name: Login to DockerHub
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
username: postfinance
password: ${{ secrets.DOCKER_TOKEN }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v3
with:
Expand Down Expand Up @@ -69,12 +66,11 @@ jobs:
uses: actions/setup-go@v3
with:
go-version: 1.19
stable: true
- name: Login to DockerHub
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
username: postfinance
password: ${{ secrets.DOCKER_TOKEN }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v3
Expand Down

0 comments on commit 092ca81

Please sign in to comment.