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:
Jeff Epler 2022-09-06 21:16:45 -05:00
parent a3e17189a4
commit 97bd322ff8
No known key found for this signature in database
GPG Key ID: D5BF15AB975AB4DE
1 changed files with 1 additions and 2 deletions

View File

@ -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