Skip to content

feat: add network ui #22

feat: add network ui

feat: add network ui #22

Workflow file for this run

name: Check
on:
pull_request:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: setup node
uses: actions/setup-node@v4
with:
node-version: latest
- name: build frontend
working-directory: frontend
run: |
npm install
npm run build
- name: setup go
uses: actions/setup-go@v5
with:
go-version: "stable"
- name: compile
run: |
GOOS=linux GOARCH=amd64 go build -ldflags '-w -s' -o cacao-linux-amd64
GOOS=linux GOARCH=arm64 go build -ldflags '-w -s' -o cacao-linux-arm64
GOOS=linux GOARCH=arm GOARM=7 go build -ldflags '-w -s' -o cacao-linux-armv7
GOOS=freebsd GOARCH=amd64 go build -ldflags '-w -s' -o cacao-freebsd-amd64
env:
CGO_ENABLED: 0