Skip to content

feat: add better error logs #48

feat: add better error logs

feat: add better error logs #48

name: Build and Test
on: [ push ]
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
- name: Setup Golang caches
uses: actions/cache@v3
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-golang-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-golang-
- name: Install Dependencies
run: |
sudo apt update
sudo apt install -y libasound2-dev
- name: Build
run: go build
- name: Test
run: go test -v ./...