Merge branch 'aiogram:dev-3.x' into patch-1

This commit is contained in:
Joren Hammudoglu 2024-04-17 20:36:14 +02:00 committed by GitHub
commit 37c88f0ca7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 8 additions and 7 deletions

View file

@ -14,13 +14,13 @@ jobs:
if: "!contains(github.event.pull_request.labels.*.name, 'skip news')"
steps:
- name: Checkout code
uses: actions/checkout@master
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: '0'
- name: Set up Python 3.10
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: "3.10"

View file

@ -10,10 +10,10 @@ jobs:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.11"

View file

@ -52,7 +52,7 @@ jobs:
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }} on ${{ matrix.os }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: "pip"
@ -81,7 +81,7 @@ jobs:
pytest $flags
- name: Upload coverage data
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: coverage.xml
@ -100,6 +100,7 @@ jobs:
python-version:
- 'pypy3.8'
- 'pypy3.9'
- 'pypy3.10'
defaults:
# Windows sucks. Force use bash instead of PowerShell
@ -113,7 +114,7 @@ jobs:
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }} on ${{ matrix.os }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: "pip"