chore(deps): update taskfile #479
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Copyright AGNTCY Contributors (https://github.com/agntcy) | |
| # SPDX-License-Identifier: Apache-2.0 | |
| name: "CodeQL Advanced" | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - renovate/** | |
| pull_request: | |
| branches: ["main"] | |
| schedule: | |
| - cron: "42 5 * * 6" | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| analyze: | |
| name: Analyze | |
| # Runner size impacts CodeQL analysis time. To learn more, please see: | |
| # - https://gh.io/recommended-hardware-resources-for-running-codeql | |
| # - https://gh.io/supported-runners-and-hardware-resources | |
| # - https://gh.io/using-larger-runners (GitHub.com only) | |
| # Consider using larger runners or machines with greater resources for possible analysis time improvements. | |
| runs-on: ubuntu-latest | |
| permissions: | |
| # required for all workflows | |
| security-events: write | |
| # required to fetch internal or private CodeQL packs | |
| packages: read | |
| # only required for workflows in private repositories | |
| actions: read | |
| contents: read | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - name: Setup Python (uv) | |
| uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1 | |
| with: | |
| version: "0.12.7" | |
| enable-cache: true | |
| - name: Install Python dependencies | |
| shell: bash | |
| run: | | |
| echo "📦 Installing Python dependencies..." | |
| uv sync --all-packages | |
| cd examples && uv sync --all-packages && cd .. | |
| echo "✅ Python dependencies installed" | |
| # Initializes the CodeQL tools for scanning. | |
| - name: Initialize CodeQL | |
| uses: github/codeql-action/init@cdf488f595d80d6e07e03d4674febd5ab45fa938 # v4.37.9 | |
| with: | |
| languages: python | |
| build-mode: none | |
| queries: +security-extended,security-and-quality | |
| config: | | |
| name: "CodeQL Config" | |
| queries: | |
| - uses: security-extended | |
| - uses: security-and-quality | |
| query-filters: | |
| - exclude: | |
| # Helm values files use empty strings as defaults | |
| id: js/empty-password-in-configuration-file | |
| paths-ignore: | |
| - "**/*_pb2.py" | |
| - "**/*_pb2_grpc.py" | |
| - name: Perform CodeQL Analysis | |
| uses: github/codeql-action/analyze@cdf488f595d80d6e07e03d4674febd5ab45fa938 # v4.37.9 | |
| with: | |
| category: "/language:python" |