CI: Update "uses" versions
This commit is contained in:
12
.github/workflows/python-package.yml
vendored
12
.github/workflows/python-package.yml
vendored
@@ -21,9 +21,9 @@ jobs:
|
|||||||
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
|
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v4
|
||||||
- name: Set up Python ${{ matrix.python-version }}
|
- name: Set up Python ${{ matrix.python-version }}
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
@@ -47,12 +47,12 @@ jobs:
|
|||||||
- name: Upload coverage to https://codecov.io/gh/jensengroup/propka
|
- name: Upload coverage to https://codecov.io/gh/jensengroup/propka
|
||||||
run: bash <(curl -s https://codecov.io/bash)
|
run: bash <(curl -s https://codecov.io/bash)
|
||||||
- name: Store coverage text results
|
- name: Store coverage text results
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: coverage-text
|
name: coverage-text
|
||||||
path: coverage.txt
|
path: coverage.txt
|
||||||
- name: Store coverage HTML results
|
- name: Store coverage HTML results
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: coverage-html
|
name: coverage-html
|
||||||
path: htmlcov/*
|
path: htmlcov/*
|
||||||
@@ -60,8 +60,8 @@ jobs:
|
|||||||
static_type_check:
|
static_type_check:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-python@v2
|
- uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: "3.12"
|
python-version: "3.12"
|
||||||
- run: python -m pip install mypy types-setuptools
|
- run: python -m pip install mypy types-setuptools
|
||||||
|
|||||||
Reference in New Issue
Block a user