Merge pull request #1454 from Concordium/DevNet-doc-pages-update #5938
This file contains hidden or 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 | |
| - mainnet | |
| push: | |
| branches: | |
| - main | |
| - mainnet | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout 🛎️ | |
| uses: actions/checkout@v4 | |
| with: | |
| persist-credentials: false | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.12' | |
| - name: Install 🔧 | |
| shell: bash | |
| run: | | |
| sudo apt-get install -y graphviz | |
| pip3 install pipenv | |
| pipenv sync --dev | |
| - name: Lint 🔍 | |
| shell: bash | |
| run: pipenv run doc8 source | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout 🛎️ | |
| uses: actions/checkout@v4 | |
| with: | |
| persist-credentials: false | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.12' | |
| - name: Install 🔧 | |
| shell: bash | |
| run: | | |
| sudo apt-get install -y graphviz | |
| pip3 install pipenv | |
| pipenv sync | |
| - name: Build 🛠 | |
| shell: bash | |
| run: pipenv run ./scripts/build.sh |