2121 required : false
2222 default : ' false'
2323
24+ permissions : {}
25+
2426jobs :
2527 test :
2628 strategy :
@@ -47,12 +49,15 @@ jobs:
4749 env :
4850 UV_PYTHON : ${{ matrix.python-version }}
4951 UV_RESOLUTION : ${{ matrix.uv-resolution }}
52+ timeout-minutes : 7
5053 steps :
5154 - name : Dump GitHub context
5255 env :
5356 GITHUB_CONTEXT : ${{ toJson(github) }}
5457 run : echo "$GITHUB_CONTEXT"
5558 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
59+ with :
60+ persist-credentials : false
5661 - name : Set up Python
5762 uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
5863 with :
6267 # cache-dependency-path: pyproject.toml
6368 - name : Install uv
6469 uses : astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
70+ with :
71+ # Before upgrading uv version, make sure astral-sh/setup-uv knows its checksum.
72+ # See: https://github.com/astral-sh/setup-uv/issues/851#issuecomment-4282017837
73+ version : " 0.11.4"
6574 # Allow debugging with tmate
6675 - name : Setup tmate session
6776 uses : mxschmitt/action-tmate@c0afd6f790e3a5564914980036ebf83216678101 # v3.23
@@ -86,12 +95,15 @@ jobs:
8695 coverage-combine :
8796 needs : [test]
8897 runs-on : ubuntu-latest
98+ timeout-minutes : 5
8999 steps :
90100 - name : Dump GitHub context
91101 env :
92102 GITHUB_CONTEXT : ${{ toJson(github) }}
93103 run : echo "$GITHUB_CONTEXT"
94104 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
105+ with :
106+ persist-credentials : false
95107 - uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
96108 with :
97109 python-version-file : " pyproject.toml"
@@ -100,6 +112,10 @@ jobs:
100112 # cache-dependency-path: pyproject.toml
101113 - name : Install uv
102114 uses : astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
115+ with :
116+ # Before upgrading uv version, make sure astral-sh/setup-uv knows its checksum.
117+ # See: https://github.com/astral-sh/setup-uv/issues/851#issuecomment-4282017837
118+ version : " 0.11.4"
103119 - name : Get coverage files
104120 uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
105121 with :
@@ -124,6 +140,7 @@ jobs:
124140 needs :
125141 - coverage-combine
126142 runs-on : ubuntu-latest
143+ timeout-minutes : 5
127144 steps :
128145 - name : Dump GitHub context
129146 env :
0 commit comments