diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 3f5cd16..00ca76e 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -18,7 +18,8 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 with: - go-version: 1.19 + go-version-file: 'go.mod' + cache: true - name: Test run: make test - name: Run GoReleaser @@ -29,6 +30,6 @@ jobs: version: latest args: release --rm-dist env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GH_PAT }} # Your GoReleaser Pro key, if you are using the 'goreleaser-pro' distribution # GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }} diff --git a/.goreleaser.yml b/.goreleaser.yml index 868b55c..e454e94 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -18,13 +18,25 @@ builds: goarch: '386' - goos: freebsd goarch: arm64 + release: github: owner: uw-labs name: strongbox + archives: - builds: - main format: binary files: - none* + +brews: + - name: strongbox + description: Encryption for git users + homepage: https://github.com/uw-labs/strongbox + license: LGPL-3.0 + folder: Formula + tap: + owner: uw-labs + name: homebrew-tap