Skip to content

Commit

Permalink
static generation
Browse files Browse the repository at this point in the history
  • Loading branch information
Isan-Rivkin committed Jul 18, 2023
1 parent 8f0f2ed commit 007c7d4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@ jobs:
uses: actions/setup-go@v2
with:
go-version: 1.18

- name: Generate
run: go generate -v ./...

# TODO add AWS credentials to generate
# - name: Generate
# run: go generate -v ./...

- name: Build
run: go build -v ./...
Expand Down
7 changes: 4 additions & 3 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
builds:
-
binary: surf
hooks:
pre: go generate ./...

# TODO add AWS credentials before can generate
# hooks:
# pre: go generate ./...

brews:
-
name: surf
Expand Down

0 comments on commit 007c7d4

Please sign in to comment.