Fedora 40 is GA #271
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
# | |
# CI Linter | |
# | |
# This workflow performs linter checks on the codebase. It is not specific | |
# to a linter, but any kind of codebase checks are included. | |
# | |
name: "CI Linter" | |
on: | |
pull_request: | |
push: | |
workflow_dispatch: | |
jobs: | |
# | |
# Run pylint | |
# | |
pylint: | |
name: "Python Linter" | |
runs-on: ubuntu-latest | |
container: | |
image: ghcr.io/osbuild/rpmrepo-ci:latest | |
steps: | |
- name: "Clone Repository" | |
uses: actions/checkout@v2 | |
- name: "Run pylint" | |
run: | | |
python3 -m pylint \ | |
--disable duplicate-code \ | |
src/ctl \ | |
src/gateway/*.py \ | |
src/script/*.py |