Skip to content

Commit

Permalink
fix more ci warnings
Browse files Browse the repository at this point in the history
for pre-commit:

    Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.

is fixed by [email protected] and,

    The `python-version` input is not set. The version of Python currently in `PATH` will be used.

for this we can just set one python version (the latest released today)
since we're only running black/isort/etc.

Signed-off-by: Tycho Andersen <[email protected]>
  • Loading branch information
tych0 committed Mar 31, 2024
1 parent 9e1eaf2 commit a446e5a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/pre_commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ jobs:
steps:
- uses: actions/checkout@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
- uses: pre-commit/[email protected].0
- uses: pre-commit/[email protected].1

0 comments on commit a446e5a

Please sign in to comment.