Skip to content

Commit

Permalink
chore: Add Go Build github action
Browse files Browse the repository at this point in the history
  • Loading branch information
LightDestory committed Sep 28, 2024
1 parent 51ff396 commit e29aa2d
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/go_build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
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

0 comments on commit e29aa2d

Please sign in to comment.