This repository has been archived by the owner on Jul 15, 2024. It is now read-only.
chore(docs): redirect docs pages to new docs (#646) #912
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: static check | |
on: | |
push: | |
branches: | |
- 'master' | |
pull_request: | |
branches: | |
- 'master' | |
jobs: | |
gofmt: | |
name: Ensure that code is gofmt-ed | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- name: check | |
uses: grandcolline/[email protected] | |
with: | |
run: fmt | |
comment: false | |
lint-docs: | |
name: Ensure docs are linted | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Setup Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.x' | |
- name: Install dependencies | |
run: | | |
pip install -r docs/requirements.txt | |
- name: Lint docs | |
run: | | |
make lint-docs |