Skip to content

Fix panic at launch when current song does not have lyrics #288

Fix panic at launch when current song does not have lyrics

Fix panic at launch when current song does not have lyrics #288

Workflow file for this run

name: Go
on:
push:
tags:
- v*
branches:
- master
- main
pull_request:
jobs:
go:
strategy:
matrix:
os: [windows-latest, macos-latest, ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache: true
- if: matrix.os == 'ubuntu-latest'
uses: extractions/setup-just@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- if: matrix.os == 'ubuntu-latest'
run: |
go install golang.org/x/tools/cmd/goimports@latest
go install mvdan.cc/gofumpt@latest
just checkfmt
- run: |
go test -race -v ./...
go test -race -v -tags=debug ./...
- run: |
go build -race -v ./...
go build -race -v -tags=debug ./...
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache: true
- name: golangci-lint
with:
skip-cache: true
uses: golangci/golangci-lint-action@v5
- name: golangci-lint debug
with:
skip-cache: true
env:
GOFLAGS: -tags=debug
uses: golangci/golangci-lint-action@v5