Skip to content

Commit

Permalink
chore: run test
Browse files Browse the repository at this point in the history
  • Loading branch information
adikari committed Oct 3, 2022
1 parent c63318a commit d9dafa6
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ name: goreleaser
on:
push:
tags:
- '*'
- "v*"

permissions:
contents: write

jobs:
goreleaser:
Expand Down
13 changes: 13 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
before:
hooks:
- go mod tidy
- go test ./...
builds:
- binary: safebox
env:
Expand All @@ -23,5 +24,17 @@ changelog:
- '^docs:'
- '^test:'

brews:
- name: safebox
tap:
owner: adikari
name: safebox
commit_msg_template: "Brew formula update for {{ .ProjectName }} version {{ .Tag }}"
folder: Formula
description: "A Fast and Flexible secret manager built with love by adikari in Go."
license: "MIT"
test: |
system "#{bin}/safebox --version"
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
# vim: set ts=2 sw=2 tw=0 fo=cnqoj

0 comments on commit d9dafa6

Please sign in to comment.