diff --git a/.github/workflows/cli-docs.yaml b/.github/workflows/cli-docs.yaml index fe8f1dc2..34ce6783 100644 --- a/.github/workflows/cli-docs.yaml +++ b/.github/workflows/cli-docs.yaml @@ -27,7 +27,7 @@ jobs: repository: ${{ github.event.pull_request.head.repo.full_name }} persist-credentials: false - name: Install the latest version of uv - uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0 + uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0 - name: Install tox run: uv tool install --python-preference only-managed --python 3.13 tox --with tox-uv - name: Setup environment diff --git a/.github/workflows/codeql.yaml b/.github/workflows/codeql.yaml index a46a2eb6..192dbabe 100644 --- a/.github/workflows/codeql.yaml +++ b/.github/workflows/codeql.yaml @@ -34,7 +34,7 @@ jobs: persist-credentials: false - name: Initialize CodeQL - uses: github/codeql-action/init@e4fba868fa4b1b91e1fdab776edc8cfbe6e9fb81 # v3 + uses: github/codeql-action/init@2892aa5e19bbd11bc0cff5427e3b750a04d9e3c2 # v3 with: languages: ${{ matrix.language }} queries: +security-and-quality @@ -43,9 +43,9 @@ jobs: - tests/data/** - name: Autobuild - uses: github/codeql-action/autobuild@e4fba868fa4b1b91e1fdab776edc8cfbe6e9fb81 # v3 + uses: github/codeql-action/autobuild@2892aa5e19bbd11bc0cff5427e3b750a04d9e3c2 # v3 - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@e4fba868fa4b1b91e1fdab776edc8cfbe6e9fb81 # v3 + uses: github/codeql-action/analyze@2892aa5e19bbd11bc0cff5427e3b750a04d9e3c2 # v3 with: category: "/language:${{ matrix.language }}" diff --git a/.github/workflows/codspeed.yaml b/.github/workflows/codspeed.yaml index 35d0fda1..e87557e4 100644 --- a/.github/workflows/codspeed.yaml +++ b/.github/workflows/codspeed.yaml @@ -29,11 +29,11 @@ jobs: with: python-version: "3.14.2" - name: Install the latest version of uv - uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0 + uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0 - name: Install dependencies run: uv sync --all-extras --group benchmark - name: Run benchmarks - uses: CodSpeedHQ/action@f99becdce5e5d51fd556489ebef684f4ecfd6286 # v4 + uses: CodSpeedHQ/action@373d6868929f444bc08d901fd0eb0ad52a8875ea # v4 with: token: ${{ secrets.CODSPEED_TOKEN }} run: .venv/bin/pytest tests/main/test_performance.py --codspeed diff --git a/.github/workflows/config-types.yaml b/.github/workflows/config-types.yaml index 56fb47b8..c7f744d8 100644 --- a/.github/workflows/config-types.yaml +++ b/.github/workflows/config-types.yaml @@ -73,7 +73,7 @@ jobs: with: persist-credentials: false - - uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0 + - uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0 if: steps.changes.outputs.needs_check == 'true' with: enable-cache: true diff --git a/.github/workflows/docker.yaml b/.github/workflows/docker.yaml index 14611b03..a256eb83 100644 --- a/.github/workflows/docker.yaml +++ b/.github/workflows/docker.yaml @@ -45,9 +45,9 @@ jobs: )" echo "version=$version" >> "$GITHUB_OUTPUT" - name: Set up Docker Buildx - uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4.2.0 + uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4.4.1 - name: Build Docker image - uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7.3.0 + uses: docker/build-push-action@c3c9e263c25d99ce0380d002d59b67737d91b0dc # v7.4.0 with: context: . load: true diff --git a/.github/workflows/docs-deploy.yaml b/.github/workflows/docs-deploy.yaml index 6698dbe0..690c57b0 100644 --- a/.github/workflows/docs-deploy.yaml +++ b/.github/workflows/docs-deploy.yaml @@ -30,7 +30,7 @@ jobs: ref: ${{ inputs.checkout_ref }} persist-credentials: false - name: Install the latest version of uv - uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0 + uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0 with: python-version: 3.14 - name: Install dependencies @@ -88,7 +88,7 @@ jobs: cp -R site/assets/playground/. site/playground/ - name: Deploy if: inputs.deploy_branch != '' && github.repository == 'koxudaxi/datamodel-code-generator' - uses: cloudflare/wrangler-action@ebbaa1584979971c8614a24965b4405ff95890e0 # v4.0.0 + uses: cloudflare/wrangler-action@953926a2e2182532811c01a25e53647d93bf07c0 # v4.1.3 with: apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} diff --git a/.github/workflows/generated-docs-sync.yaml b/.github/workflows/generated-docs-sync.yaml index 463b9c9a..8d5f516b 100644 --- a/.github/workflows/generated-docs-sync.yaml +++ b/.github/workflows/generated-docs-sync.yaml @@ -53,7 +53,7 @@ jobs: ref: ${{ github.sha }} persist-credentials: false - name: Install the latest version of uv - uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0 + uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0 - name: Install tox run: uv tool install --python-preference only-managed --python 3.13 tox --with tox-uv - name: Setup generated docs environment diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 0aa7c721..ab49189a 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -13,7 +13,7 @@ jobs: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - - uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0 + - uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0 - uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0 with: python-version: "3.14" diff --git a/.github/workflows/llms-txt.yaml b/.github/workflows/llms-txt.yaml index 09f57997..c91a8bdc 100644 --- a/.github/workflows/llms-txt.yaml +++ b/.github/workflows/llms-txt.yaml @@ -49,7 +49,7 @@ jobs: repository: ${{ github.event.pull_request.head.repo.full_name }} persist-credentials: false - name: Install the latest version of uv - uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0 + uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0 with: enable-cache: true cache-suffix: docs-check-all diff --git a/.github/workflows/payload-runtime-compatibility.yaml b/.github/workflows/payload-runtime-compatibility.yaml index 43c92e4c..f3949a5f 100644 --- a/.github/workflows/payload-runtime-compatibility.yaml +++ b/.github/workflows/payload-runtime-compatibility.yaml @@ -30,7 +30,7 @@ jobs: fetch-depth: 0 persist-credentials: false - name: Install the latest version of uv - uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0 + uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0 with: enable-cache: true cache-suffix: ${{ matrix.tox_env }} @@ -56,7 +56,7 @@ jobs: fetch-depth: 0 persist-credentials: false - name: Install the latest version of uv - uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0 + uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0 with: enable-cache: true cache-suffix: jsonschema-suite-all-drafts diff --git a/.github/workflows/perf-memory.yaml b/.github/workflows/perf-memory.yaml index 36fe7dc7..836ea83b 100644 --- a/.github/workflows/perf-memory.yaml +++ b/.github/workflows/perf-memory.yaml @@ -20,7 +20,7 @@ jobs: with: persist-credentials: false - name: Install the latest version of uv - uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0 + uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0 with: enable-cache: true cache-suffix: performance-memory diff --git a/.github/workflows/playground-lint.yaml b/.github/workflows/playground-lint.yaml index 25ae432e..d6163c8f 100644 --- a/.github/workflows/playground-lint.yaml +++ b/.github/workflows/playground-lint.yaml @@ -40,7 +40,7 @@ jobs: with: persist-credentials: false - name: Install the latest version of uv - uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0 + uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0 with: enable-cache: true cache-suffix: playground-lint diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 15c87756..8802941b 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -129,7 +129,7 @@ jobs: fetch-depth: 0 persist-credentials: false - name: Install the latest version of uv - uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0 + uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0 with: enable-cache: false - name: Build package @@ -157,7 +157,7 @@ jobs: name: ${{ env.dists-artifact-name }} path: dist/ - name: Publish to PyPI - uses: pypa/gh-action-pypi-publish@ba38be9e461d3875417946c167d0b5f3d385a247 # v1.14.1 + uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 # v1.14.2 with: attestations: true @@ -181,16 +181,16 @@ jobs: tags: | type=semver,pattern={{raw}} - name: Login to DockerHub - uses: docker/login-action@af1e73f918a031802d376d3c8bbc3fe56130a9b0 # v4.4.0 + uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Set up QEMU - uses: docker/setup-qemu-action@96fe6ef7f33517b61c61be40b68a1882f3264fb8 # v4.2.0 + uses: docker/setup-qemu-action@99012661954931238ded8c8b007157a8430204e1 # v4.4.0 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4.2.0 + uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4.4.1 - name: Build Docker image for smoke test - uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7.3.0 + uses: docker/build-push-action@c3c9e263c25d99ce0380d002d59b67737d91b0dc # v7.4.0 with: context: . load: true @@ -202,7 +202,7 @@ jobs: with: image: datamodel-code-generator:smoke - name: Build and push - uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7.3.0 + uses: docker/build-push-action@c3c9e263c25d99ce0380d002d59b67737d91b0dc # v7.4.0 with: push: true tags: ${{ steps.docker_meta.outputs.tags }} diff --git a/.github/workflows/readme.yaml b/.github/workflows/readme.yaml index 47aa4979..34503b04 100644 --- a/.github/workflows/readme.yaml +++ b/.github/workflows/readme.yaml @@ -25,7 +25,7 @@ jobs: repository: ${{ github.event.pull_request.head.repo.full_name }} persist-credentials: false - name: Install the latest version of uv - uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0 + uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0 - name: Install tox run: uv tool install --python-preference only-managed --python 3.13 tox --with tox-uv - name: Setup environment diff --git a/.github/workflows/release-benchmarks.yaml b/.github/workflows/release-benchmarks.yaml index 84e59107..49904e13 100644 --- a/.github/workflows/release-benchmarks.yaml +++ b/.github/workflows/release-benchmarks.yaml @@ -128,7 +128,7 @@ jobs: with: python-version: ${{ env.BENCHMARK_PYTHON_VERSION }} - name: Install the latest version of uv - uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0 + uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0 - name: Collect benchmarks env: BENCHMARK_VERSION: ${{ matrix.version }} diff --git a/.github/workflows/release-draft.yaml b/.github/workflows/release-draft.yaml index 4c2274d3..e4052e28 100644 --- a/.github/workflows/release-draft.yaml +++ b/.github/workflows/release-draft.yaml @@ -115,7 +115,7 @@ jobs: - name: Run Claude Code Analysis id: claude timeout-minutes: 10 - uses: anthropics/claude-code-action@44423bdec74b97d67543eb16c110546762c110b2 # v1.0.181 + uses: anthropics/claude-code-action@8ce9314fa9a404564fa7e954cd84f25bcba2b829 # v1.0.236 with: # OAuth authentication for Max plan subscribers claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} diff --git a/.github/workflows/schema-docs.yaml b/.github/workflows/schema-docs.yaml index 9dff0ae4..fb9407ed 100644 --- a/.github/workflows/schema-docs.yaml +++ b/.github/workflows/schema-docs.yaml @@ -23,7 +23,7 @@ jobs: repository: ${{ github.event.pull_request.head.repo.full_name }} persist-credentials: false - name: Install the latest version of uv - uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0 + uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0 - name: Install tox run: uv tool install --python-preference only-managed --python 3.13 tox --with tox-uv - name: Setup environment diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 6ccc5c86..315979a7 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -53,7 +53,7 @@ jobs: fetch-depth: 1 persist-credentials: false - name: Install the latest version of uv - uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0 + uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0 with: enable-cache: true cache-suffix: "${{ matrix.py || matrix.tox_env }}" @@ -110,7 +110,7 @@ jobs: fetch-depth: 1 persist-credentials: false - name: Install the latest version of uv - uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0 + uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0 with: enable-cache: true cache-suffix: "${{ matrix.tox_env }}" @@ -167,7 +167,7 @@ jobs: fetch-depth: 1 persist-credentials: false - name: Install the latest version of uv - uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0 + uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0 with: enable-cache: true cache-suffix: "${{ matrix.tox_env }}-coverage" @@ -416,7 +416,7 @@ jobs: persist-credentials: false - name: Install uv (Windows) if: matrix.os == 'windows-latest' - uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0 + uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0 with: version: ${{ env.WINDOWS_UV_VERSION }} enable-cache: true @@ -430,7 +430,7 @@ jobs: save-cache: ${{ matrix.shard == 1 }} - name: Install the latest version of uv if: matrix.os != 'windows-latest' - uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0 + uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0 with: enable-cache: true cache-suffix: "${{ matrix.tox_env }}-shard-${{ matrix.shard_total }}" @@ -516,7 +516,7 @@ jobs: fetch-depth: 0 persist-credentials: false - name: Install the latest version of uv - uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0 + uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0 - name: Install tox run: uv tool install --python-preference only-managed --python 3.13 tox --with tox-uv - name: Setup coverage tool @@ -555,7 +555,7 @@ jobs: path: .tox/htmlcov - name: Upload coverage to Codecov if: always() - uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7 + uses: codecov/codecov-action@303a32d7a59b442fa8d48b6a1cc6825c09c847a5 # v7 with: flags: unittests files: .tox/coverage.xml @@ -575,7 +575,7 @@ jobs: fetch-depth: 0 persist-credentials: false - name: Install the latest version of uv - uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0 + uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0 - name: Install tox run: uv tool install --python-preference only-managed --python 3.13 tox --with tox-uv - name: Setup check suites @@ -627,7 +627,7 @@ jobs: fetch-depth: 0 persist-credentials: false - name: Install the latest version of uv - uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0 + uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0 - name: Install tox run: uv tool install --python-preference only-managed --python 3.13 tox --with tox-uv - name: Setup e2e suites