@@ -164,7 +164,6 @@ jobs:
164164 with :
165165 python-version : ${{ matrix.python-version }}
166166 enable-cache : true
167- prune-cache : false
168167 cache-suffix : ${{ matrix.install.name }}
169168
170169 - uses : denoland/setup-deno@v2
@@ -173,9 +172,10 @@ jobs:
173172
174173 - run : mkdir .coverage
175174
176- - run : uv run mcp-run-python example --deps=numpy
177175 - run : uv sync --only-dev
178176
177+ - run : uv run mcp-run-python example --deps=numpy
178+
179179 - name : cache HuggingFace models
180180 uses : actions/cache@v4
181181 with :
@@ -213,7 +213,6 @@ jobs:
213213 with :
214214 python-version : ${{ matrix.python-version }}
215215 enable-cache : true
216- prune-cache : false
217216 cache-suffix : lowest-versions
218217
219218 - uses : denoland/setup-deno@v2
@@ -224,6 +223,8 @@ jobs:
224223
225224 - run : uv sync --group dev
226225
226+ - run : uv run mcp-run-python example --deps=numpy
227+
227228 - name : cache HuggingFace models
228229 uses : actions/cache@v4
229230 with :
@@ -232,8 +233,6 @@ jobs:
232233 restore-keys : |
233234 hf-${{ runner.os }}-
234235
235- - run : uv run mcp-run-python example --deps=numpy
236-
237236 - run : unset UV_FROZEN
238237
239238 - run : uv run --all-extras --resolution lowest-direct coverage run -m pytest --durations=100 -n auto --dist=loadgroup
@@ -264,7 +263,6 @@ jobs:
264263 with :
265264 python-version : ${{ matrix.python-version }}
266265 enable-cache : true
267- prune-cache : false
268266 cache-suffix : all-extras
269267
270268 - name : cache HuggingFace models
@@ -475,12 +473,7 @@ jobs:
475473 import os
476474 import tweepy
477475
478- client = tweepy.Client(
479- access_token=os.getenv("TWITTER_ACCESS_TOKEN"),
480- access_token_secret=os.getenv("TWITTER_ACCESS_TOKEN_SECRET"),
481- consumer_key=os.getenv("TWITTER_CONSUMER_KEY"),
482- consumer_secret=os.getenv("TWITTER_CONSUMER_SECRET"),
483- )
476+ client = tweepy.Client(os.getenv("TWITTER_ACCESS_TOKEN"))
484477 version = os.getenv("VERSION").strip('"')
485478 tweet = os.getenv("TWEET").format(version=version)
486479 client.create_tweet(text=tweet)
@@ -490,7 +483,4 @@ jobs:
490483 Pydantic AI version {version} is out! 🎉
491484
492485 https://github.com/pydantic/pydantic-ai/releases/tag/v{version}
493- TWITTER_CONSUMER_KEY : ${{ secrets.TWITTER_CONSUMER_KEY }}
494- TWITTER_CONSUMER_SECRET : ${{ secrets.TWITTER_CONSUMER_SECRET }}
495486 TWITTER_ACCESS_TOKEN : ${{ secrets.TWITTER_ACCESS_TOKEN }}
496- TWITTER_ACCESS_TOKEN_SECRET : ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }}
0 commit comments