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 b2b8970
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/go.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Go

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

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
lfs: "true"
- name: Setup Golang
uses: actions/setup-go@v4
with:
go-version: '1.21'
- name: Install golang dependencies
run: go mod download -x
- name: Go Generate
run: go generate ./...
- name: Build
run: go build -o ./build/lanty.exe -v ./cmd/

0 comments on commit b2b8970

Please sign in to comment.