fix: invalid dhcp input #23
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |