Skip to content

ci: use actions/setup-python with caching - #1933

Open
nschonni wants to merge 1 commit into
coredevices:mainfrom
nschonni:ci-setup-python
Open

ci: use actions/setup-python with caching#1933
nschonni wants to merge 1 commit into
coredevices:mainfrom
nschonni:ci-setup-python

Conversation

@nschonni

Copy link
Copy Markdown
Contributor

Noticed it was only being used in the doc-linkscheck workflow, so used it consistently throughout the jobs, and used the built-in pip caching.

The python-version value of 3.13 was just based on the single use, and potentially could be unpinned to keep using the version shipped with the runner. Alternately at python verson file could live at the root for consitency.

@nschonni
nschonni marked this pull request as draft August 25, 2026 20:06

@gmarull gmarull left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we use a custom docker image for fw builds, so this should not be needed

Signed-off-by: Nick Schonning <nschonni@gmail.com>
@nschonni
nschonni marked this pull request as ready for review August 25, 2026 20:36
@nschonni

Copy link
Copy Markdown
Contributor Author

@gmarull sorry, I didn't pick that up orginally. I rebased out all the jobs that used the custom images, and just left the 2 that were running on the stock Ubuntu image. No worries if you're not interested though

python-version: "3.13"

- name: Install ruff
run: pip install ruff

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of doing this, https://github.com/astral-sh/ruff-action could potentially be used

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