mirror of
https://github.com/containers/podman-compose.git
synced 2024-11-26 09:53:23 +01:00
688ee9a104
Signed-off-by: Bas Zoetekouw <bas.zoetekouw@surf.nl>
26 lines
635 B
YAML
26 lines
635 B
YAML
name: Static checks
|
|
|
|
on:
|
|
- push
|
|
- pull_request
|
|
|
|
jobs:
|
|
static-checks:
|
|
runs-on: ubuntu-latest
|
|
container:
|
|
image: docker.io/library/python:3.11-bookworm
|
|
# cgroupns needed to address the following error:
|
|
# write /sys/fs/cgroup/cgroup.subtree_control: operation not supported
|
|
options: --privileged --cgroupns=host
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Analysing the code with ruff
|
|
run: |
|
|
set -e
|
|
pip install -r test-requirements.txt
|
|
ruff format --check
|
|
ruff check
|
|
- name: Analysing the code with pylint
|
|
run: |
|
|
pylint podman_compose.py
|