Skip to content

Add syntax highlighting in code blocks #32

Add syntax highlighting in code blocks

Add syntax highlighting in code blocks #32

Workflow file for this run

name: CI
on:
- push
- pull_request
jobs:
build:
strategy:
matrix:
os:
- ubuntu-22.04
- ubuntu-20.04
- macos-12
- macos-11
python-version:
- "3.7"
- "3.8"
- "3.9"
- "3.10"
name: Python ${{ matrix.python-version }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install bandit flake8 pylint
- name: Lint with flake8
run: make flake8
- name: Lint with pylint
run: make pylint
- name: Lint with bandit
run: make bandit
container:
strategy:
matrix:
os:
- ubuntu-20.04
builder:
- docker
- podman
name: ${{ matrix.builder }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: ${{ matrix.builder }} build ${{ matrix.image }}
run: make CONTAINER_CMD=${{ matrix.builder }} container