Compare commits

...

2 commits

Author SHA1 Message Date
ee4c817df9 Update module github.com/gopxl/beep to v2
Some checks failed
build bin / Make sure build does not fail (pull_request) Failing after 1m16s
2024-12-15 12:21:28 +00:00
856fa6d159
Added basic "build" test for sanity
All checks were successful
build bin / Make sure build does not fail (push) Successful in 2m46s
Signed-off-by: Sagi Dayan <sagidayan@gmail.com>
2024-12-15 13:53:40 +02:00
3 changed files with 33 additions and 2 deletions

View 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

View file

@ -24,7 +24,7 @@ test_coverage:
go test ./... -coverprofile=coverage.out
dep:
go mod download
go mod vendor
vet:
go vet

2
go.mod
View file

@ -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