summaryrefslogtreecommitdiff
path: root/.github/workflows/static_checks.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/static_checks.yml')
-rw-r--r--.github/workflows/static_checks.yml8
1 files changed, 7 insertions, 1 deletions
diff --git a/.github/workflows/static_checks.yml b/.github/workflows/static_checks.yml
index 2a7a4e6625..ee01dba2ba 100644
--- a/.github/workflows/static_checks.yml
+++ b/.github/workflows/static_checks.yml
@@ -9,9 +9,15 @@ jobs:
- name: Checkout
uses: actions/checkout@v2
+ # Azure repositories are not reliable, we need to prevent azure giving us packages.
+ - name: Make apt sources.list use the default Ubuntu repositories
+ run: |
+ sudo rm -f /etc/apt/sources.list.d/*
+ sudo cp -f misc/ci/sources.list /etc/apt/sources.list
+ sudo apt-get update
+
- name: Install dependencies
run: |
- sudo apt-get update -qq
sudo apt-get install -qq dos2unix recode clang-format
sudo pip3 install git+https://github.com/psf/black@master pygments