complete/.github/workflows/goreadme.yml

21 lines
606 B
YAML
Raw Normal View History

2020-04-09 11:07:58 -05:00
on:
pull_request:
branches: [master, v1]
push:
branches: [master, v1]
jobs:
goreadme:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v2
- name: Update readme according to Go doc
2020-04-10 02:35:21 -05:00
uses: posener/goreadme@v1.2.7
2020-04-09 11:07:58 -05:00
with:
2020-04-10 02:35:21 -05:00
import-path: 'github.com/posener/complete/v2' # Fix import path to point on v2.
2020-04-09 11:07:58 -05:00
recursive: 'true'
2020-04-10 02:35:21 -05:00
badge-godoc: 'true'
2020-04-09 11:07:58 -05:00
badge-travisci: 'true'
badge-codecov: 'true'
github-token: '${{ secrets.GITHUB_TOKEN }}'