--- # vi: ts=2 sw=2 et: # SPDX-License-Identifier: LGPL-2.1-or-later # https://github.com/marketplace/actions/super-linter name: Lint Code Base on: pull_request: branches: - main - v[0-9]+-stable permissions: contents: read jobs: build: name: Lint Code Base runs-on: ubuntu-24.04 concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true steps: - name: Repo checkout uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 with: # We need a full repo clone fetch-depth: 0 persist-credentials: false - name: Lint Code Base uses: super-linter/super-linter/slim@4ce20838b8ab83717e78138c5b3a1407148e0918 env: DEFAULT_BRANCH: main MULTI_STATUS: false VALIDATE_ALL_CODEBASE: false VALIDATE_GITHUB_ACTIONS: true LINTER_RULES_PATH: .github/linters GITHUB_ACTIONS_CONFIG_FILE: actionlint.yml ENABLE_GITHUB_PULL_REQUEST_SUMMARY_COMMENT: false - uses: systemd/mkosi@f7762b71437227922a367bb89597843c77494ef9 - name: Check that tabs are not used in Python code run: sh -c '! git grep -P "\\t" -- src/core/generate-bpf-delegate-configs.py src/boot/generate-hwids-section.py src/ukify/ukify.py test/integration-tests/integration-test-wrapper.py' - name: Build tools tree run: | tee mkosi/mkosi.local.conf <