fix: proper version number string and user agent #323
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: Build and Test | |
on: | |
push: | |
branches: [ 'master' ] | |
pull_request: | |
branches: [ 'master' ] | |
jobs: | |
build: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '1.22.2' | |
- name: Install dependencies | |
run: sudo apt-get update && sudo apt-get install -y libasound2-dev libvorbis-dev libogg-dev | |
- name: Build daemon | |
run: go build -v ./cmd/daemon | |
- name: Test | |
run: go test -v ./... |