Mark diff colors safe and escape raw diff input #2454
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: "StrictDoc on macOS" | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "**" ] | |
jobs: | |
build: | |
runs-on: macos-13 | |
strategy: | |
matrix: | |
python-version: [ | |
"3.8", "3.12" | |
] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v1 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Upgrade pip | |
run: | | |
python -m pip install --upgrade pip | |
- name: Install minimal Python packages | |
run: | | |
pip install -r requirements.bootstrap.txt | |
- name: Run Lint tasks | |
run: | | |
invoke lint | |
- name: Run tests | |
run: | | |
invoke test |