mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09:00
ci: Use mkosi in linter workflow
Let's reuse the mkosi tools tree to get all the tools we need instead of pulling them from pypi.
This commit is contained in:
@@ -15,7 +15,7 @@ from pathlib import Path
|
||||
URL = 'https://github.com/systemd/mkosi'
|
||||
BRANCH = 'main' # We only want to ever use commits on upstream 'main' branch
|
||||
CONFIG = Path('mkosi/mkosi.conf')
|
||||
WORKFLOWS = [Path('.github/workflows/mkosi.yml'), Path('.github/workflows/coverage.yml')]
|
||||
WORKFLOWS = [Path('.github/workflows') / f for f in ['mkosi.yml', 'coverage.yml', 'linter.yml']]
|
||||
|
||||
def parse_args():
|
||||
p = argparse.ArgumentParser(
|
||||
|
||||
Reference in New Issue
Block a user