diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ec9487a..e33ed1b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,14 +2,14 @@ name: CI on: pull_request: - branches: [ main ] + branches: [main] push: - branches: [ main ] + branches: [main] jobs: build: name: Build - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 steps: - name: Checkout repository @@ -41,15 +41,12 @@ jobs: test: name: Test - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 strategy: fail-fast: false matrix: - python-version: [ "3.8", "3.9", "3.10", "3.11", "3.12" ] - poetry-version: [ "1.8.2" ] - include: - - python-version: "3.7" - poetry-version: "1.5.1" + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] + poetry-version: ["1.8.2"] steps: - name: Checkout repository diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 7baf187..fcd0178 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -2,17 +2,17 @@ name: "CodeQL" on: push: - branches: [ main ] + branches: [main] pull_request: # The branches below must be a subset of the branches above - branches: [ main ] + branches: [main] schedule: - - cron: '15 18 * * 5' + - cron: "15 18 * * 5" jobs: analyze: name: Analyze - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 permissions: actions: read contents: read @@ -21,20 +21,20 @@ jobs: strategy: fail-fast: false matrix: - language: [ 'python' ] + language: ["python"] steps: - - name: Checkout repository - uses: actions/checkout@v4 + - name: Checkout repository + uses: actions/checkout@v4 - # Initializes the CodeQL tools for scanning. - - name: Initialize CodeQL - uses: github/codeql-action/init@v3 - with: - languages: ${{ matrix.language }} + # Initializes the CodeQL tools for scanning. + - name: Initialize CodeQL + uses: github/codeql-action/init@v3 + with: + languages: ${{ matrix.language }} - - name: Autobuild - uses: github/codeql-action/autobuild@v3 + - name: Autobuild + uses: github/codeql-action/autobuild@v3 - - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v3 + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v3 diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml index 27156c7..d754d77 100644 --- a/.github/workflows/pr-checks.yml +++ b/.github/workflows/pr-checks.yml @@ -12,7 +12,7 @@ jobs: check-title: if: ${{ github.event.pull_request.user.login != 'dependabot[bot]' }} name: Check title - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 steps: - uses: naveenk1223/action-pr-title@v1.0.0 diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 6cd71f8..41731f6 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -7,7 +7,7 @@ on: jobs: deploy: name: Deploy to package index - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 env: PYTHON_VERSION: 3.9 REPOSITORY_USERNAME: ${{ secrets.PYPI_USERNAME }} @@ -56,7 +56,7 @@ jobs: conda list grayskull --version anaconda --version - + count=0 max_retries=5 tag=${{ github.event.release.tag_name }}