Skip to content

Commit

Permalink
fix goreleaser config
Browse files Browse the repository at this point in the history
  • Loading branch information
thatmattlove committed Sep 24, 2023
1 parent 6c9cec6 commit 90294ab
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,22 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.20
go-version: 1.20.x

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v4
uses: goreleaser/goreleaser-action@v5
with:
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAP_GITHUB_TOKEN: ${{ secrets.GORELEASER_PAT }}
FURY_TOKEN: ${{ secrets.FURY_TOKEN }}

- name: Upload assets
uses: actions/upload-artifact@v3
with:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
sudo systemctl start postgresql.service
pg_isready
sudo -u postgres createuser -s -d -r -w runner
# See: https://dev.to/lxxxvi/github-action-using-pre-installed-postgres-5144
- name: Setup Postgres
run: |
psql postgres -c 'CREATE DATABASE oui;'
Expand Down

0 comments on commit 90294ab

Please sign in to comment.