Skip to content

fix: 如果获取不到config,尝试远端同步获取一次,获取到的内容需要更新缓存 #156

fix: 如果获取不到config,尝试远端同步获取一次,获取到的内容需要更新缓存

fix: 如果获取不到config,尝试远端同步获取一次,获取到的内容需要更新缓存 #156

Workflow file for this run

name: Go
on:
push:
branches: [ master ]
pull_request:
branches: [ master, develop ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.12
- name: Build
run: |
go test -covermode=count -coverprofile=coverage.out ./...
- name: Convert coverage to lcov
uses: jandelgado/[email protected]
- name: Coveralls GitHub Action
uses: coverallsapp/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: coverage.lcov
- name: Build
run: |
go build -o "$Project"