Skip to content

Add github workflow to build application. #3

Add github workflow to build application.

Add github workflow to build application. #3

Workflow file for this run

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: Go Generate
run: go generate ./...
- name: Build
run: go build -o ./build/lanty.exe -v ./cmd/