Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SKIP CI] GitHub Actions: Use builtin Python and move dependencies to python-deps.txt #765

Merged
2 commits merged into from
Sep 16, 2021

Conversation

ghost
Copy link

@ghost ghost commented Sep 15, 2021

  • Use builtin Python instead of setup-python since we use apt to install packages.
  • Move the dependencies data to python-deps.txt, so if someone wants to set up a system, they don't need to look at GitHub Actions to find dependencies.

See also: #755 (comment) and #755 (comment)

Signed-off-by: Yongan Lu [email protected]

setup-python enable python located in /opt/hostedtoolcache,
while apt install packages for python located in /usr/bin, so
it's nonsense to use setup-python in the actions

Signed-off-by: Yongan Lu <[email protected]>
This can bring us two benefits:

1. For someone wants to set up a system, there is no need to
look at GitHub Actions to find dependencies.
2. We won't be worry about that yamllint will report 'line too
long' when we add more dependencies in the future.

Signed-off-by: Yongan Lu <[email protected]>
@ghost ghost merged commit 25bc4ee into thesofproject:main Sep 16, 2021
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants