Skip to content

Bump actions/checkout to v4 in CI #34

Bump actions/checkout to v4 in CI

Bump actions/checkout to v4 in CI #34

Workflow file for this run

name: CI
on:
- push
- pull_request
jobs:
build:
strategy:
matrix:
os:
- ubuntu-24.04
- macos-12
python-version:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
name: Python ${{ matrix.python-version }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
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-24.04
builder:
- docker
- podman
name: ${{ matrix.builder }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: ${{ matrix.builder }} build ${{ matrix.image }}
run: make CONTAINER_CMD=${{ matrix.builder }} container