Skip to content

Commit

Permalink
add go generate do GH build action
Browse files Browse the repository at this point in the history
  • Loading branch information
almeidapaulopt committed Dec 11, 2024
1 parent 0dd2f72 commit f3543f6
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,19 @@ on:
pull_request:

jobs:

build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.23'
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.23"

- name: Build
run: go build -v ./...
- name: Install dependencies
run: go install github.com/a-h/templ/cmd/templ@latest
- name: Generate
run: go generate ./...
- name: Build
run: go build -v ./...

0 comments on commit f3543f6

Please sign in to comment.