Skip to content

Commit bf39259

Browse files
authored
Merge pull request #54 from ripe-tech/hg/github_actions
feat: migrate from python container based approach to setup-python
2 parents 9088510 + 2ee4663 commit bf39259

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

.github/workflows/deploy.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,12 @@ jobs:
1010
matrix:
1111
python-version: [3.5]
1212
runs-on: ubuntu-latest
13-
container: python:${{ matrix.python-version }}
1413
steps:
1514
- uses: actions/checkout@v1
16-
- run: python --version
15+
- name: Set up Python ${{ matrix.python-version }}
16+
uses: actions/setup-python@v4
17+
with:
18+
python-version: ${{ matrix.python-version }}
1719
- run: pip install -r requirements.txt
1820
- run: python setup.py test
1921
- run: pip install twine wheel

.github/workflows/main.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,14 @@ jobs:
55
name: Build
66
strategy:
77
matrix:
8-
python-version: ["3.8", "3.9", "3.10", "3.11", "rc"]
8+
python-version: ["3.8", "3.9", "3.10", "3.11"]
99
runs-on: ubuntu-latest
10-
container: python:${{ matrix.python-version }}
1110
steps:
1211
- uses: actions/checkout@v1
13-
- run: python --version
12+
- name: Set up Python ${{ matrix.python-version }}
13+
uses: actions/setup-python@v4
14+
with:
15+
python-version: ${{ matrix.python-version }}
1416
- run: pip install -r requirements.txt
1517
- run: |
1618
pip install pylint

0 commit comments

Comments
 (0)