Skip to content

chore: Add Go Build github action #1

chore: Add Go Build github action

chore: Add Go Build github action #1

Workflow file for this run

name: Go Build
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.21.x'
- name: Install dependencies
run: go install github.com/rakyll/statik@latest && go mod download -x
- name: Build
run: cd webserver && statik -f -src=public && go build -o lwnsimulator cmd/main.go