Skip to content

Commit

Permalink
[main] GitHub actions and style checks: bump some versions
Browse files Browse the repository at this point in the history
Use newer Linux (Ubuntu 22.04) and Python (3.10) versions for the GitHub
Action style checks, and update the PyYAML version used by the style
checks to the current default version on Ubuntu 22.04.

We are making this change because the GitHub actions currently fail
when trying to install PyYAML.
  • Loading branch information
maltehelmert committed Dec 15, 2022
1 parent d8ba71d commit 7b90338
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ on:
jobs:
style:
name: Test code style
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Clone repository
uses: actions/checkout@master

- name: Install Python
uses: actions/setup-python@master
with:
python-version: 3.8
python-version: 3.10

- name: Install dependencies
run: |
Expand Down
2 changes: 1 addition & 1 deletion misc/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ commands =

[testenv:clang-tidy]
changedir = {toxinidir}/style/
deps = PyYAML==3.12
deps = PyYAML==5.4
commands =
python run-clang-tidy.py

Expand Down

0 comments on commit 7b90338

Please sign in to comment.