Add CIS6 standard #280
Workflow file for this run
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: Lint | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
env: | |
PYTHON_VERSION: 3.12 | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
container: sphinxdoc/sphinx | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v2.3.1 | |
with: | |
persist-credentials: false | |
- name: Install 🔧 | |
shell: bash | |
run: | | |
apt-get update | |
apt-get install -y git rsync | |
apt-get install -y python${{ env.PYTHON_VERSION }} | |
pip3 install -r requirements.txt | |
- name: Lint 🔍 | |
shell: bash | |
run: doc8 source | |
build: | |
runs-on: ubuntu-latest | |
container: sphinxdoc/sphinx | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v2.3.1 | |
with: | |
persist-credentials: false | |
- name: Install 🔧 | |
shell: bash | |
run: | | |
apt-get update | |
apt-get install -y git rsync | |
apt-get install -y python${{ env.PYTHON_VERSION }} | |
pip3 install -r requirements.txt | |
- name: Build 🛠 | |
shell: bash | |
run: sphinx-build source build -W |