Skip to content

star logic : don't panic if star api returns error #337

star logic : don't panic if star api returns error

star logic : don't panic if star api returns error #337

Workflow file for this run

name: golang build
on: pull_request
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.21
- name: Build
working-directory: ./
run: go build -v ./...
- name: Test
working-directory: ./
run: go test -race -coverprofile=./coverage.txt -covermode=atomic ./...
- name: Check goreleaser file
uses: goreleaser/goreleaser-action@v2
with:
version: latest
args: check
#- name: Upload coverage
# uses: codecov/codecov-action@v2
# with:
# files: ./coverage.txt