Skip to content

Commit

Permalink
Added unit test to release
Browse files Browse the repository at this point in the history
  • Loading branch information
Jelloeater committed Sep 22, 2024
1 parent 8d9a354 commit c2c1618
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,25 @@ permissions:
issues: write

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.22.0
- name: Install dependencies
run: go mod download
- name: Run tests
run: go test -v ./... -coverprofile=./cover.out -covermode=atomic -coverpkg=./...

goreleaser:
needs:
- test
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down

0 comments on commit c2c1618

Please sign in to comment.