mirror of
https://github.com/containers/podman-compose.git
synced 2024-12-01 20:33:57 +01:00
0c0e77c246
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
23 lines
546 B
YAML
23 lines
546 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
|