Skip to content

Commit

Permalink
ci: fix some more warnings in pre_commit.yaml
Browse files Browse the repository at this point in the history
Let's just use the latest python version. But now that we're not using the
system python, we need to install all the dependencies for the various
tools.

I didn't see where we actually use actions/cache, hopefully the
actions/setup-python bump fixes that warning.
  • Loading branch information
tych0 committed Feb 16, 2024
1 parent 721cb61 commit f6ee934
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/pre_commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install dependencies
run: |
sudo apt update
sudo apt install --no-install-recommends libxkbcommon-dev
pip3 install pkg_resources
- uses: pre-commit/[email protected]

0 comments on commit f6ee934

Please sign in to comment.