name: Checks on: [pull_request, push] permissions: contents: read jobs: spelling_checker: name: "Spelling" runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - uses: codespell-project/actions-codespell@master with: ignore_words_list: msdos, pullrequest skip: ./.git,coverity,rpmbuild,samples python_code_linters: name: "Python Linters" runs-on: ubuntu-latest strategy: fail-fast: false matrix: linter: - "ruff" - "pylint" - "autopep8" - "isort" steps: - name: "Clone Repository" uses: actions/checkout@v3 - name: "Run Linters" uses: osbuild/containers/src/actions/privdocker@552e30cf1b4ed19c6ddaa57f96c342b3dff4227b with: image: ghcr.io/osbuild/osbuild-ci:latest-202304251412 run: | tox -e "${{ matrix.linter }}" python_code_types: name: "Python Typing" runs-on: ubuntu-latest strategy: fail-fast: false matrix: typer: - "mypy" steps: - name: "Clone Repository" uses: actions/checkout@v3 - name: "Run Linters" uses: osbuild/containers/src/actions/privdocker@552e30cf1b4ed19c6ddaa57f96c342b3dff4227b with: image: ghcr.io/osbuild/osbuild-ci:latest-202304251412 run: | tox -e "${{ matrix.typer }}" shell_linters: name: "Shell Linters" runs-on: ubuntu-latest steps: - name: "Clone Repository" uses: actions/checkout@v3 with: fetch-depth: 0 - name: "Differential ShellCheck" uses: redhat-plumbers-in-action/differential-shellcheck@v3 with: severity: warning token: ${{ secrets.GITHUB_TOKEN }}