Skip to content
This repository was archived by the owner on Jun 19, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 15 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ jobs:
name: Lint & Type Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: "3.11"
cache: "pip"
Expand All @@ -46,9 +46,9 @@ jobs:
os: [ubuntu-latest, windows-latest]
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
cache: "pip"
Expand All @@ -60,7 +60,7 @@ jobs:
run: |
pytest --cov=src/ngd --cov-report=xml --cov-fail-under=80
- name: Upload coverage
uses: codecov/codecov-action@v4
uses: codecov/codecov-action@v7
with:
files: ./coverage.xml
flags: unittests
Expand All @@ -70,9 +70,9 @@ jobs:
name: Security Scan
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: "3.11"
cache: "pip"
Expand All @@ -86,16 +86,16 @@ jobs:
- name: Bandit
run: bandit -r src/ -f json -o bandit-report.json || true
- name: Gitleaks
uses: gitleaks/gitleaks-action@v2
uses: gitleaks/gitleaks-action@v3

build-wheel:
name: Build Wheel
needs: [lint-and-type, test, security]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: "3.11"
cache: "pip"
Expand All @@ -108,7 +108,7 @@ jobs:
- name: Check wheel
run: twine check dist/*
- name: Upload artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: dist
path: dist/
Expand All @@ -124,7 +124,7 @@ jobs:
needs: build-wheel
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- name: Install cyclonedx-bom
run: pip install cyclonedx-bom
- name: Prepare dist directory
Expand All @@ -133,7 +133,7 @@ jobs:
run: |
cyclonedx-bom -o dist/sbom.json .
- name: Upload SBOM
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: sbom
path: dist/sbom.json
Expand Down Expand Up @@ -163,9 +163,9 @@ jobs:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- name: Download artifacts
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
path: dist/
- name: Verify signatures
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/cibw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ jobs:
- python: "cp312"
arch: ARM64
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: "3.11"
- name: Install cibuildwheel
Expand All @@ -42,7 +42,7 @@ jobs:
CIBW_TEST_SKIP: "*"
CIBW_ENVIRONMENT_WINDOWS: "CIBW_BUILD_VERBOSITY=1"
- name: Upload wheels
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: windows-wheels
path: wheelhouse/
4 changes: 2 additions & 2 deletions .github/workflows/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
steps:
- name: Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v2
uses: dependabot/fetch-metadata@v3
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Enable auto-merge for patch/minor updates
Expand All @@ -35,7 +35,7 @@ jobs:
PR_URL: ${{ github.event.pull_request.html_url }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Run CI on Dependabot PR
uses: actions/github-script@v7
uses: actions/github-script@v9
with:
script: |
const pr = context.payload.pull_request;
Expand Down
28 changes: 14 additions & 14 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ jobs:
outputs:
version: ${{ steps.extract_version.outputs.version }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: '3.10'
- name: Install build dependencies
Expand Down Expand Up @@ -69,13 +69,13 @@ jobs:
pip install cyclonedx-bom
cyclonedx-py environment --pyproject pyproject.toml -o sbom.json
- name: Upload SBOM
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: sbom
path: sbom.json
retention-days: 90
- name: Upload dist artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: dist
path: dist/
Expand All @@ -88,7 +88,7 @@ jobs:
if: github.event_name != 'workflow_dispatch' || github.event.inputs.dry_run != 'true'
steps:
- name: Download dist artifacts
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
name: dist
path: dist/
Expand All @@ -107,13 +107,13 @@ jobs:
cosign attest-blob --yes --bundle dist/*.whl.attestation.sig dist/*.whl
cosign attest-blob --yes --bundle dist/*.tar.gz.attestation.sig dist/*.tar.gz
- name: Upload signatures and attestations
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: signatures
path: dist/*.sig
retention-days: 90
- name: Upload attestations
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: attestations
path: dist/*.attestation.sig
Expand All @@ -129,12 +129,12 @@ jobs:
id-token: write
steps:
- name: Download dist artifacts
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
name: dist
path: dist/
- name: Download signatures
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
name: signatures
path: dist/
Expand All @@ -150,27 +150,27 @@ jobs:
if: github.event_name != 'workflow_dispatch' || github.event.inputs.dry_run != 'true'
steps:
- name: Download dist artifacts
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
name: dist
path: dist/
- name: Download signatures
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
name: signatures
path: dist/
- name: Download attestations
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
name: attestations
path: dist/
- name: Download SBOM
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
name: sbom
path: .
- name: Create Release
uses: softprops/action-gh-release@v2
uses: softprops/action-gh-release@v3
with:
tag_name: v${{ needs.build.outputs.version }}
name: nvidia-gratitude-driver v${{ needs.build.outputs.version }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/submission-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
name: Code, Tests, and Security
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
fetch-depth: 0
- uses: actions/setup-python@v5
- uses: actions/setup-python@v6
with:
python-version: "3.11"
cache: pip
Expand Down
Loading