Use current ubuntu for pre-commit
This means that the OS version of uncrustify can be used, rather than the pybricks one.
This commit is contained in:
parent
a3e17189a4
commit
97bd322ff8
|
@ -14,7 +14,7 @@ concurrency:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
pre-commit:
|
pre-commit:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2.2.0
|
- uses: actions/checkout@v2.2.0
|
||||||
- name: Set up Python 3
|
- name: Set up Python 3
|
||||||
|
@ -23,7 +23,6 @@ jobs:
|
||||||
python-version: "3.x"
|
python-version: "3.x"
|
||||||
- name: Install deps
|
- name: Install deps
|
||||||
run: |
|
run: |
|
||||||
sudo apt-add-repository -y -u ppa:pybricks/ppa
|
|
||||||
sudo apt-get install -y gettext uncrustify
|
sudo apt-get install -y gettext uncrustify
|
||||||
pip3 install black polib pyyaml
|
pip3 install black polib pyyaml
|
||||||
- name: Populate selected submodules
|
- name: Populate selected submodules
|
||||||
|
|
Loading…
Reference in New Issue