Update docs: updated readFile version for async await #1188
Workflow file for this run
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: Build docs, check CloudFormation, check for dead links | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| permissions: | |
| contents: read | |
| jobs: | |
| check: | |
| name: build docs | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| - name: Create virtual environment | |
| run: python3 -m venv venv | |
| - name: Install dependencies | |
| run: venv/bin/pip install -r requirements.txt | |
| - name: Build documentation | |
| run: venv/bin/mkdocs build | |
| - name: Setup cloudformation linter | |
| uses: ScottBrenner/cfn-lint-action@9636da81fb2e0cef75725d8dda11b0148940b7ae # v2.6.0 | |
| - name: Run cloudformation lint | |
| run: cfn-lint -t stack.yml | |
| - name: Run dead links check | |
| uses: tcort/github-action-markdown-link-check@e7c7a18363c842693fadde5d41a3bd3573a7a225 # v1.1.2 | |
| with: | |
| folder-path: '.' | |
| config-file: markdown-link-check-config.yml | |
| use-verbose-mode: yes | |
| use-quiet-mode: yes |