Compare commits
2 commits
2f48d701d2
...
ee4c817df9
Author | SHA1 | Date | |
---|---|---|---|
ee4c817df9 | |||
856fa6d159 |
3 changed files with 33 additions and 2 deletions
31
.forgejo/workflows/build.yml
Normal file
31
.forgejo/workflows/build.yml
Normal file
|
@ -0,0 +1,31 @@
|
|||
name: build bin
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
pull_request:
|
||||
branches: [main]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Make sure build does not fail
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: https://code.forgejo.org/actions/checkout@v4
|
||||
name: checkout
|
||||
- name: install alsa devel
|
||||
run: apt update && apt install libasound2-dev -y
|
||||
- uses: https://code.forgejo.org/actions/setup-go@v5
|
||||
name: install go
|
||||
with:
|
||||
go-version-file: './go.mod'
|
||||
- run: go version
|
||||
name: Go version
|
||||
- run: make dep
|
||||
name: install dependencies
|
||||
- run: make build
|
||||
name: build app
|
||||
|
2
Makefile
2
Makefile
|
@ -24,7 +24,7 @@ test_coverage:
|
|||
go test ./... -coverprofile=coverage.out
|
||||
|
||||
dep:
|
||||
go mod download
|
||||
go mod vendor
|
||||
|
||||
vet:
|
||||
go vet
|
||||
|
|
2
go.mod
2
go.mod
|
@ -7,7 +7,7 @@ require (
|
|||
github.com/delucks/go-subsonic v0.0.0-20240806025900-2a743ec36238
|
||||
github.com/gdamore/tcell/v2 v2.7.4
|
||||
github.com/godbus/dbus/v5 v5.1.0
|
||||
github.com/gopxl/beep v1.4.1
|
||||
github.com/gopxl/beep/v2 v2.1.0
|
||||
github.com/gopxl/beep/v2 v2.1.0
|
||||
github.com/quarckster/go-mpris-server v1.0.3
|
||||
github.com/rivo/tview v0.0.0-20241103174730-c76f7879f592
|
||||
|
|
Loading…
Reference in a new issue