Skip to content

Commit

Permalink
chore: don't run codeql on 3.12
Browse files Browse the repository at this point in the history
CodeQL uses the imp module which was removed on 3.12
  • Loading branch information
corenting committed Jul 3, 2023
1 parent c7218a6 commit d5997ed
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ on:
permissions:
contents: read
security-events: write
id-token: write

jobs:
ci:
Expand All @@ -28,6 +27,7 @@ jobs:
uses: actions/checkout@v3
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
if: ${{ matrix.python-version != '3.12.0-beta.3' }} # remove when codeql is fixed on 3.12
with:
languages: python
- name: Install Poetry
Expand All @@ -45,6 +45,7 @@ jobs:
run: make test
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
if: ${{ matrix.python-version != '3.12.0-beta.3' }} # remove when codeql is fixed on 3.12
- name: Codecov
uses: codecov/codecov-action@v3
with:
Expand All @@ -55,6 +56,8 @@ jobs:
environment: release
needs: ci
if: startsWith(github.ref, 'refs/tags/v')
permissions:
id-token: write
steps:
- name: Checkout code
uses: actions/checkout@v3
Expand Down

0 comments on commit d5997ed

Please sign in to comment.