From 479234cc6ee61a629ed2bd749410d233210ec91d Mon Sep 17 00:00:00 2001 From: Lex Li Date: Sat, 10 Aug 2024 20:28:13 -0400 Subject: [PATCH] Added Python 3.13. Removed obsolete workflows. --- .github/workflows/build-test.yml | 2 +- .github/workflows/release-notes.yaml | 20 ----- .github/workflows/release.yml | 112 --------------------------- 3 files changed, 1 insertion(+), 133 deletions(-) delete mode 100644 .github/workflows/release-notes.yaml delete mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 1b3e02204..52e25e952 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -15,7 +15,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest, macos-latest] - python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] + python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13.0-rc.1'] steps: - uses: actions/checkout@v4 - name: Setup python diff --git a/.github/workflows/release-notes.yaml b/.github/workflows/release-notes.yaml deleted file mode 100644 index 5a7fa65ea..000000000 --- a/.github/workflows/release-notes.yaml +++ /dev/null @@ -1,20 +0,0 @@ -name: Release-Notes-Preview - -on: - pull_request: - issue_comment: - types: [edited] - -jobs: - preview: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - run: | - git fetch --prune --unshallow --tags - - uses: snyk/release-notes-preview@v1.6.2 - with: - releaseBranch: main - env: - GITHUB_PR_USERNAME: ${{ github.actor }} - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index 2669925ea..000000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,112 +0,0 @@ -name: Manual - -on: - push: - tags: - - "v[0-9]+.[0-9]+.[0-9]+" - -jobs: - - semgrep: - runs-on: ubuntu-latest - name: security-sast-semgrep - steps: - - uses: actions/checkout@v2 - - name: Semgrep - id: semgrep - uses: returntocorp/semgrep-action@v1 - with: - publishToken: ${{ secrets.SEMGREP_APP_TOKEN }} - - build: - name: build - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: Setup python - uses: actions/setup-python@v2 - with: - python-version: 3.7 - - name: Run image - uses: abatilo/actions-poetry@v2.0.0 - with: - poetry-version: "1.1.11" - - name: Build - run: | - poetry install - poetry build - - uses: actions/upload-artifact@v2.2.4 - with: - name: dist - path: dist - - uses: actions/upload-artifact@v2.2.4 - with: - name: output - path: output - - review_secrets: - name: security-detect-secrets - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v2 - with: - submodules: false - fetch-depth: "0" - - name: Trufflehog Actions Scan - uses: edplato/trufflehog-actions-scan@v0.9j-beta - with: - scanArguments: "--max_depth 30 -x .github/workflows/exclude-patterns.txt" - - publish: - name: Build Release - needs: - #- pre-commit - #- review_secrets - - semgrep - - build - #- run-unit-tests - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - with: - submodules: false - # Very important: semantic-release won't trigger a tagged - # build if this is not set false - persist-credentials: false - - name: Setup python - uses: actions/setup-python@v2 - with: - python-version: "3.7" - - name: Run image - uses: abatilo/actions-poetry@v2.0.0 - with: - poetry-version: "1.1.11" - - name: Build - run: | - poetry install - poetry build - - uses: actions/setup-node@v2 - with: - node-version: "14" - - name: Semantic Release - uses: cycjimmy/semantic-release-action@v2.6.0 - with: - semantic_version: 17 - extra_plugins: | - @semantic-release/exec - @semantic-release/git - @google/semantic-release-replace-plugin - env: - GITHUB_TOKEN: ${{ secrets.SEMREL_TOKEN }} - PYPI_USERNAME: "__token__" - PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }} - - update-semver: - name: Move Respository semver tags - if: startsWith(github.ref, 'refs/tags/v') - needs: publish - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: haya14busa/action-update-semver@v1 \ No newline at end of file