Skip to content

Commit afc7651

Browse files
committed
Updating Workflows to deprecate all version of pythons & macos: ci.yml - new try
1 parent 3598daa commit afc7651

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ jobs:
2222
- os: macos-latest
2323
python-version: pypy-3.7
2424
include:
25-
- os: ubuntu-20.04
25+
- os: ubuntu-latest
2626
python-version: 3.7
27-
- os: ubuntu-20.04
27+
- os: ubuntu-latest
2828
python-version: 3.9
29-
- os: ubuntu-20.04
29+
- os: ubuntu-latest
3030
python-version: 2.7
3131
steps:
3232
- uses: actions/checkout@v2
@@ -55,7 +55,7 @@ jobs:
5555
run: |
5656
pytest -v test/unit/test_dropbox_unit.py
5757
Docs:
58-
runs-on: ubuntu-20.04
58+
runs-on: ubuntu-latest
5959
steps:
6060
- uses: actions/checkout@v2
6161
- name: Setup Python environment
@@ -93,11 +93,11 @@ jobs:
9393
- os: macos-latest
9494
python-version: pypy-3.7
9595
include:
96-
- os: ubuntu-20.04
96+
- os: ubuntu-latest
9797
python-version: 3.7
98-
- os: ubuntu-20.04
98+
- os: ubuntu-latest
9999
python-version: 3.9
100-
- os: ubuntu-20.04
100+
- os: ubuntu-latest
101101
python-version: 2.7
102102
steps:
103103
- uses: actions/[email protected]

.github/workflows/pypiupload.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99

1010
jobs:
1111
deploy:
12-
runs-on: ubuntu-20.04
12+
runs-on: ubuntu-latest
1313
strategy:
1414
matrix:
1515
python-version: [2.7, 3.x]
@@ -24,7 +24,7 @@ jobs:
2424
python get-pip.py
2525
- if: ${{ matrix.python-version != '2.7' }}
2626
name: Setup Python environment
27-
uses: actions/setup-python@v3.1.4
27+
uses: actions/setup-python@v4
2828
with:
2929
python-version: ${{ matrix.python-version }}
3030
- name: Install dependencies

0 commit comments

Comments
 (0)