Skip to content

Commit

Permalink
Update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
jurihock committed Mar 24, 2024
1 parent d918270 commit f0be83e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: publish.yml

on: [push]

env:
PYTHON: 3.11

jobs:

publish:
Expand All @@ -13,10 +16,10 @@ jobs:
- name: Checkout
uses: actions/checkout@master

- name: Python 3.11
- name: Python
uses: actions/setup-python@master
with:
python-version: '3.11'
python-version: ${{ env.PYTHON }}

- name: Install
run: |
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: test.yml

on: [push, pull_request]

env:
PYTHON: 3.11

jobs:

test-pypi:
Expand All @@ -13,10 +16,10 @@ jobs:
- name: Checkout
uses: actions/checkout@master

- name: Python 3.11
- name: Python
uses: actions/setup-python@master
with:
python-version: '3.11'
python-version: ${{ env.PYTHON }}

- name: Install
run: |
Expand All @@ -39,10 +42,10 @@ jobs:
- name: Checkout
uses: actions/checkout@master

- name: Python 3.11
- name: Python
uses: actions/setup-python@master
with:
python-version: '3.11'
python-version: ${{ env.PYTHON }}

- name: Install
run: |
Expand Down

0 comments on commit f0be83e

Please sign in to comment.