@@ -9,26 +9,20 @@ concurrency:
9
9
jobs :
10
10
static-checks :
11
11
name : Static Checks (clang-format, black format, file format, documentation checks)
12
- runs-on : ubuntu-20 .04
12
+ runs-on : " ubuntu-24 .04"
13
13
steps :
14
14
- name : Checkout
15
15
uses : actions/checkout@v4
16
16
17
- # Azure repositories are not reliable, we need to prevent Azure giving us packages.
18
- - name : Make apt sources.list use the default Ubuntu repositories
19
- run : |
20
- sudo rm -f /etc/apt/sources.list.d/*
21
- sudo cp -f misc/ci/sources.list /etc/apt/sources.list
22
- wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
23
- sudo apt-add-repository "deb http://apt.llvm.org/focal/ llvm-toolchain-focal-15 main"
24
- sudo apt-get update
25
-
26
17
- name : Install dependencies
27
18
run : |
28
- sudo apt-get install -qq dos2unix clang-format-15 libxml2-utils python3-pip moreutils
19
+ # Azure repositories are flaky, remove them.
20
+ sudo rm -f /etc/apt/sources.list.d/{azure,microsoft}*
21
+ sudo apt-get update
22
+ sudo apt-get install -qq dos2unix libxml2-utils python3-pip moreutils
29
23
sudo update-alternatives --remove-all clang-format || true
30
- sudo update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-15 100
31
- sudo pip3 install black==22.3 .0 pygments
24
+ sudo update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-16 100
25
+ sudo pip3 install black==24.10 .0 pygments
32
26
33
27
# This needs to happen before Python and npm execution; it must happen before any extra files are written.
34
28
- name : .gitignore checks (gitignore_check.sh)
0 commit comments