Bump actions versions (#1459)

* chore: bump actions versions

* chore: add pypy310
This commit is contained in:
Oleg A 2024-04-17 14:09:19 +03:00 committed by GitHub
parent b49939aaff
commit 5f157beb26
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')" if: "!contains(github.event.pull_request.labels.*.name, 'skip news')"
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@master uses: actions/checkout@v4
with: with:
ref: ${{ github.event.pull_request.head.sha }} ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: '0' fetch-depth: '0'
- name: Set up Python 3.10 - name: Set up Python 3.10
uses: actions/setup-python@v2 uses: actions/setup-python@v5
with: with:
python-version: "3.10" python-version: "3.10"

View file

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

View file

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