Skip to content

Commit

Permalink
Add github workflow to build application.
Browse files Browse the repository at this point in the history
  • Loading branch information
seternate committed Mar 7, 2024
1 parent 94c39f0 commit a29c449
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/go.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Go

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Golang
uses: actions/setup-go@v4
with:
go-version: '1.21'
- name: Go Generate
run: go generate ./...
- name: Build
run: go build -o ./build/lanty.exe -v ./cmd/

0 comments on commit a29c449

Please sign in to comment.