diff options
| author | Bob Halley <halley@dnspython.org> | 2022-10-02 10:03:59 -0700 |
|---|---|---|
| committer | Bob Halley <halley@dnspython.org> | 2022-10-02 10:03:59 -0700 |
| commit | bc4c1901384f725a7e4deb30cbef930449e872c7 (patch) | |
| tree | f466ffb96ce8734c8c3701beae97d1c929bfdd29 /.github/workflows | |
| parent | 4d0592a71c2d9c03f267617fe9dd63d13eda3821 (diff) | |
| download | dnspython-bc4c1901384f725a7e4deb30cbef930449e872c7.tar.gz | |
try again to fix CodeQL
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/codeql-analysis.yml | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 239890c..3f887fe 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -42,12 +42,6 @@ jobs: - name: Checkout repository uses: actions/checkout@v3 - - name: Install dependencies - run: | - python -m pip install --upgrade pip - python -m pip install poetry - poetry install -E dnssec -E doh -E idna -E trio -E curio - # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL uses: github/codeql-action/init@v2 @@ -58,5 +52,15 @@ jobs: # Prefix the list here with "+" to use these queries and those in the config file. # queries: ./path/to/local/query, your-org/your-repo/queries@main + # I'm not sure why the same recipe we use to build in normal CI does not work + # for CodeQL any more, but the error it logs is apparently about gnome-keyring + # not being installed, so we will try to install it. + - name: Install dependencies + run: | + sudo apt install -y gnome-keyring + python -m pip install --upgrade pip + python -m pip install poetry + poetry install -E dnssec -E doh -E idna -E trio -E curio + - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v2 |
