Skip to content

Upgrade package#23

Merged
saudzahirr merged 2 commits intomasterfrom
develop
Apr 18, 2026
Merged

Upgrade package#23
saudzahirr merged 2 commits intomasterfrom
develop

Conversation

@saudzahirr
Copy link
Copy Markdown
Member

No description provided.

@saudzahirr saudzahirr self-assigned this Apr 18, 2026
@github-advanced-security
Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

Comment on lines +19 to +36
name: Ruff Lint and Format
runs-on: ubuntu-latest

steps:
- name: Checkout Repository
uses: actions/checkout@v6

- name: Setup Ruff
uses: astral-sh/ruff-action@v3
with:
args: --version

- name: Enforce Lint
run: ruff check pyswarm

- name: Enforce Format
run: |
ruff format --diff pyswarm
Comment on lines +28 to +44
runs-on: ubuntu-latest

steps:
- name: Fetch Supported Python
id: fetch-versions
run: |
versions=$(curl -fsSL https://endoflife.date/api/v1/products/python/ \
| jq '[ .result.releases[] | select(.isEol == false) | .label ]')

echo "supported_versions=$(echo $versions |jq -c '.')" >> $GITHUB_OUTPUT
echo "bound_versions=$(echo $versions |jq -c '[.[0],.[-1]]')" >> $GITHUB_OUTPUT

outputs:
supported_versions: ${{ steps.fetch-versions.outputs.supported_versions }}
bound_versions: ${{ steps.fetch-versions.outputs.bound_versions }}

fresh_build:
Comment on lines +45 to +47
uses: ./.github/workflows/dist_build.yml

testing:
Comment on lines +13 to +40
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0

- name: Setup uv
uses: astral-sh/setup-uv@v7

- name: Build distribution
run: uv build -v --clear .

- name: Set Artifact Name
id: artifact-name
run: |
echo "artifact_name=${{ github.run_id }}[${{ github.run_attempt }}]--build-artifacts" \
| tee -a $GITHUB_OUTPUT

- name: Upload Build Artifacts
uses: actions/upload-artifact@v7
with:
name: ${{ steps.artifact-name.outputs.artifact_name }}
path: dist
if-no-files-found: error

outputs:
artifact_name: ${{ steps.artifact-name.outputs.artifact_name }}
@codecov-commenter
Copy link
Copy Markdown

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

ℹ️ You can also turn on project coverage checks and project coverage reporting on Pull Request comment

Thanks for integrating Codecov - We've got you covered ☂️

@saudzahirr saudzahirr merged commit 65c8a4e into master Apr 18, 2026
16 checks passed
@saudzahirr saudzahirr deleted the develop branch April 18, 2026 12:57
@saudzahirr saudzahirr mentioned this pull request Apr 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants