Skip to content

Commit

Permalink
Added just to the goreleaser pipeline
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Kosiewski <[email protected]>
  • Loading branch information
Thomas Kosiewski committed Oct 19, 2023
1 parent 7430d5c commit 76e4a26
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ jobs:
cache: false
go-version-file: "go.mod"

- name: Setup Just
uses: extractions/setup-just@v1

- name: Setup Cosgin
uses: sigstore/cosign-installer@main
with:
Expand Down
3 changes: 1 addition & 2 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ project_name: tunnel

before:
hooks:
- go mod tidy
- cd examples/coordinator/ && go mod tidy
- just tidy

source:
enabled: false
Expand Down
6 changes: 6 additions & 0 deletions Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,9 @@ lint *ARGS:
[no-exit-message]
check-structalign *ARGS:
go run github.com/dkorunic/betteralign/cmd/betteralign@latest {{ARGS}} ./...

# --- Go tooling ---

tidy:
go mod tidy
cd examples/coordinator/ && go mod tidy

0 comments on commit 76e4a26

Please sign in to comment.