From f3959af7c0eebbeef8a31ac8de841eee3ed348d6 Mon Sep 17 00:00:00 2001 From: CI Bot Date: Wed, 8 Jul 2026 21:02:39 +0800 Subject: [PATCH] chore: remove upstream workflows [skip ci] --- .github/workflows/codeql-analysis.yml | 45 -------------- .github/workflows/test.yml | 63 ------------------- .github/workflows/workflow.yml | 90 --------------------------- 3 files changed, 198 deletions(-) delete mode 100644 .github/workflows/codeql-analysis.yml delete mode 100644 .github/workflows/test.yml delete mode 100644 .github/workflows/workflow.yml diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml deleted file mode 100644 index f120889..0000000 --- a/.github/workflows/codeql-analysis.yml +++ /dev/null @@ -1,45 +0,0 @@ -name: "Code scanning - action" - -on: - push: - schedule: - - cron: '25 3 * * 5' - -jobs: - CodeQL-Build: - - strategy: - fail-fast: false - - # CodeQL runs on ubuntu-latest and windows-latest - runs-on: ubuntu-latest - - steps: - - name: Checkout repository - uses: actions/checkout@v2 - - # Initializes the CodeQL tools for scanning. - - name: Initialize CodeQL - uses: github/codeql-action/init@v1 - # Override language selection by uncommenting this and choosing your languages - # with: - # languages: go, javascript, csharp, python, cpp, java - - # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). - # If this step fails, then you should remove it and run the build manually (see below) - - name: Autobuild - uses: github/codeql-action/autobuild@v1 - - # â„šī¸ Command-line programs to run using the OS shell. - # 📚 https://git.io/JvXDl - - # âœī¸ If the Autobuild fails above, remove it and uncomment the following three lines - # and modify them (or add more) to build your code if your project - # uses a compiled language - - #- run: | - # make bootstrap - # make release - - - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v1 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml deleted file mode 100644 index 82c5e5f..0000000 --- a/.github/workflows/test.yml +++ /dev/null @@ -1,63 +0,0 @@ -name: Validate 'setup-python' -on: - push: - branches: - - master - paths-ignore: - - '**.md' - pull_request: - paths-ignore: - - '**.md' - schedule: - - cron: 0 0 * * * - -jobs: - default-version: - name: Setup default version - runs-on: ${{ matrix.os }} - strategy: - fail-fast: false - matrix: - os: [macos-latest, windows-latest, ubuntu-16.04, ubuntu-18.04] - steps: - - name: Checkout - uses: actions/checkout@v2 - - - name: setup default python - uses: ./ - - - name: Validate version - run: python --version - - - name: Run simple python code - run: python -c 'import math; print(math.factorial(5))' - - setup-versions-from-manifest: - name: Setup ${{ matrix.python }} ${{ matrix.os }} - runs-on: ${{ matrix.os }} - strategy: - fail-fast: false - matrix: - os: [macos-latest, windows-latest, ubuntu-16.04, ubuntu-18.04] - python: [3.5.4, 3.6.7, 3.7.5, 3.8.1] - steps: - - name: Checkout - uses: actions/checkout@v2 - - - name: setup-python ${{ matrix.python }} - uses: ./ - with: - python-version: ${{ matrix.python }} - - - name: Validate version - run: | - $pythonVersion = (python --version) - if ("Python ${{ matrix.python }}" -ne "$pythonVersion"){ - Write-Host "The current version is $pythonVersion; expected version is ${{ matrix.python }}" - exit 1 - } - $pythonVersion - shell: pwsh - - - name: Run simple code - run: python -c 'import math; print(math.factorial(5))' diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml deleted file mode 100644 index 2498319..0000000 --- a/.github/workflows/workflow.yml +++ /dev/null @@ -1,90 +0,0 @@ -name: Main workflow -on: - push: - branches: - - master - paths-ignore: - - '**.md' - pull_request: - paths-ignore: - - '**.md' -jobs: - run: - name: Run - runs-on: ${{ matrix.operating-system }} - strategy: - matrix: - operating-system: [ubuntu-latest, windows-latest] - steps: - - name: Checkout - uses: actions/checkout@v2 - - - name: Set Node.js 12.x - uses: actions/setup-node@v1 - with: - node-version: 12.x - - - name: npm install - run: npm install - - - name: Lint - run: npm run format-check - - - name: npm test - run: npm test - - - name: Run with setup-python 2.7 - uses: ./ - with: - python-version: 2.7 - - name: Verify 2.7 - run: python __tests__/verify-python.py 2.7 - - - name: Run with setup-python 3.5 - uses: ./ - with: - python-version: 3.5 - - name: Verify 3.5 - run: python __tests__/verify-python.py 3.5 - - - name: Run with setup-python 3.6 - uses: ./ - with: - python-version: 3.6 - - name: Verify 3.6 - run: python __tests__/verify-python.py 3.6 - - - name: Run with setup-python 3.7 - uses: ./ - with: - python-version: 3.7 - - name: Verify 3.7 - run: python __tests__/verify-python.py 3.7 - - - name: Run with setup-python 3.8 - uses: ./ - with: - python-version: 3.8 - - name: Verify 3.8 - run: python __tests__/verify-python.py 3.8 - - - name: Run with setup-python 3.7.5 - uses: ./ - with: - python-version: 3.7.5 - - name: Verify 3.7.5 - run: python __tests__/verify-python.py 3.7.5 - - - name: Run with setup-python 3.6.7 - uses: ./ - with: - python-version: 3.6.7 - - name: Verify 3.6.7 - run: python __tests__/verify-python.py 3.6.7 - - - name: Run with setup-python 3.8.1 - uses: ./ - with: - python-version: 3.8.1 - - name: Verify 3.8.1 - run: python __tests__/verify-python.py 3.8.1