tools/ci.sh: Drop ppa requirement for code formatting CI.
The CI scripts were using a PPA to get a backported version of uncrustify on Ubuntu 20.04. However, this causes CI to intermittently fail due to connection issues to launchpad.net or the key server. Ubuntu 22.04 has a newer version of uncrustify removing the need for the PPA. Ubuntu 22.04 is now in beta on GitHub actions, so it can be used. Signed-off-by: David Lechner <david@pybricks.com>
This commit is contained in:
parent
bada8b3cad
commit
17f0297c1a
2
.github/workflows/code_formatting.yml
vendored
2
.github/workflows/code_formatting.yml
vendored
@ -4,7 +4,7 @@ on: [push, pull_request]
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/setup-python@v1
|
- uses: actions/setup-python@v1
|
||||||
|
@ -18,7 +18,6 @@ function ci_gcc_arm_setup {
|
|||||||
# code formatting
|
# code formatting
|
||||||
|
|
||||||
function ci_code_formatting_setup {
|
function ci_code_formatting_setup {
|
||||||
sudo apt-add-repository --yes --update ppa:pybricks/ppa
|
|
||||||
sudo apt-get install uncrustify
|
sudo apt-get install uncrustify
|
||||||
pip3 install black
|
pip3 install black
|
||||||
uncrustify --version
|
uncrustify --version
|
||||||
|
Loading…
x
Reference in New Issue
Block a user