Skip to content

Commit

Permalink
Merge pull request #20 from light-curve/setup-python
Browse files Browse the repository at this point in the history
Use actions/setup-python
  • Loading branch information
hombit authored Oct 14, 2024
2 parents 7be5de1 + 20bda44 commit 3e1f08e
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/python-linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ jobs:
with:
platforms: all
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.x'
cache: 'pip'
- name: Login to registry
run: docker login -u ${{ github.actor }} -p ${{ secrets.GITHUB_TOKEN }} ghcr.io
- name: Install deps
Expand All @@ -52,6 +56,10 @@ jobs:
platform: [ "manylinux", "musllinux" ]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.x'
cache: 'pip'
- name: Login to registry
run: docker login -u ${{ github.actor }} -p ${{ secrets.GITHUB_TOKEN }} ghcr.io
- name: Install deps
Expand All @@ -77,6 +85,10 @@ jobs:
with:
platforms: all
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.x'
cache: 'pip'
- name: Login to registry
run: docker login -u ${{ github.actor }} -p ${{ secrets.GITHUB_TOKEN }} ghcr.io
- name: Install deps
Expand All @@ -94,6 +106,10 @@ jobs:
platform: [ "manylinux", "musllinux" ]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.x'
cache: 'pip'
- name: Login to registry
run: docker login -u ${{ github.actor }} -p ${{ secrets.GITHUB_TOKEN }} ghcr.io
- name: Install deps
Expand All @@ -115,6 +131,10 @@ jobs:
with:
platforms: all
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.x'
cache: 'pip'
- name: Login to registry
run: docker login -u ${{ github.actor }} -p ${{ secrets.GITHUB_TOKEN }} ghcr.io
- name: Install deps
Expand All @@ -132,6 +152,10 @@ jobs:
platform: [ "manylinux" ]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.x'
cache: 'pip'
- name: Login to registry
run: docker login -u ${{ github.actor }} -p ${{ secrets.GITHUB_TOKEN }} ghcr.io
- name: Install deps
Expand All @@ -158,6 +182,10 @@ jobs:
with:
platforms: all
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.x'
cache: 'pip'
- name: Login to registry
run: docker login -u ${{ github.actor }} -p ${{ secrets.GITHUB_TOKEN }} ghcr.io
- name: Install deps
Expand All @@ -175,6 +203,10 @@ jobs:
platform: [ "manylinux", "musllinux" ]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.x'
cache: 'pip'
- name: Login to registry
run: docker login -u ${{ github.actor }} -p ${{ secrets.GITHUB_TOKEN }} ghcr.io
- name: Install deps
Expand Down

0 comments on commit 3e1f08e

Please sign in to comment.