Skip to content

Commit

Permalink
fix: action to support release creation
Browse files Browse the repository at this point in the history
  • Loading branch information
joshmedeski committed Jan 15, 2024
1 parent ba74bbe commit d82b5c1
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
on: [push, pull_request]
name: Test, Build and Publish

permissions:
contents: write

jobs:
tests:
strategy:
Expand All @@ -8,7 +12,7 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
- uses: actions/setup-go@v4
with:
go-version: "1.21"
- name: Run tests
Expand All @@ -25,11 +29,11 @@ jobs:
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: "1.21"
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
version: latest
Expand Down

0 comments on commit d82b5c1

Please sign in to comment.