From: Yurii Motov Date: Fri, 17 Apr 2026 13:58:25 +0000 (+0200) Subject: Resolve `test.yml` X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=f9c7e15a2170a5f7625dbb9f8ee6f10cc0b1c83d;p=thirdparty%2Ffastapi%2Fsqlmodel.git Resolve `test.yml` --- diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8cce657ce..1cc3970fb 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,6 +18,8 @@ on: # cron every week on monday - cron: "0 0 * * 1" +permissions: {} + env: UV_NO_SYNC: true @@ -52,6 +54,8 @@ jobs: UV_RESOLUTION: ${{ matrix.uv-resolution }} steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + with: + persist-credentials: false - name: Set up Python uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 with: @@ -59,6 +63,7 @@ jobs: - name: Setup uv uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0 with: + version: "0.11.4" enable-cache: true cache-dependency-glob: | pyproject.toml @@ -90,12 +95,15 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + with: + persist-credentials: false - uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 with: python-version-file: ".python-version" - name: Setup uv uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0 with: + version: "0.11.4" enable-cache: true cache-dependency-glob: | pyproject.toml