Skip to content

Commit

Permalink
feat: introduce go build pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
sourcec0de committed Oct 1, 2024
1 parent c16318a commit bba5a03
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,31 @@ jobs:
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}

- name: Set up Node
uses: actions/setup-node@v3
with:
node-version: 20

- name: Set up pnpm
uses: pnpm/action-setup@v2
with:
version: 9

- name: Install Go Mods
run: go mod download

- name: Install pnpm
run: pnpm install

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

- name: Build
run: go build -v ./...

- name: Test
run: go test -v ./...



- name: Vet
run: go vet ./...

0 comments on commit bba5a03

Please sign in to comment.