--- # 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@11bd71901bbe5b1630ceea73d27597364c9af683 with: # We need a full repo clone fetch-depth: 0 - name: Lint Code Base uses: super-linter/super-linter/slim@12150456a73e248bdc94d0794898f94e23127c88 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 - uses: systemd/mkosi@184472f0f1f831ca29953546ec01fd941ff763a6 - 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 <