Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
inverse committed Jun 7, 2024
1 parent 238510d commit 3ba61c6
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 14 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,15 @@ jobs:
restore-keys: |
${{ runner.os }}-poetry-
- name: Parse .tool-versions
uses: wistia/[email protected]
with:
prefix: 'tool_version_'
uses: paulo-ferraz-oliveira/parse-tool-versions@v1
id: tool-versions
- uses: actions/setup-python@v5
with:
python-version: ${{ env.TOOL_VERSION_PYTHON }}
python-version: ${{ steps.tool-versions.outputs.python }}
- name: Install poetry
uses: abatilo/[email protected]
with:
poetry-version: ${{ env.TOOL_VERSION_POETRY }}
poetry-version: ${{ steps.tool-versions.outputs.poetry }}
- name: Install pip dependencies
run: poetry install
- uses: pre-commit/[email protected]
Expand All @@ -47,16 +46,15 @@ jobs:
restore-keys: |
${{ runner.os }}-poetry-
- name: Parse .tool-versions
uses: wistia/[email protected]
with:
prefix: 'tool_version_'
uses: paulo-ferraz-oliveira/parse-tool-versions@v1
id: tool-versions
- uses: actions/setup-python@v5
with:
python-version: '${{ matrix.python-version }}'
- name: Install poetry
uses: abatilo/[email protected]
with:
poetry-version: ${{ env.TOOL_VERSION_POETRY }}
poetry-version: ${{ steps.tool-versions.outputs.poetry }}
- name: Install pip dependencies
run: poetry install
- name: Run tests
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,15 @@ jobs:
steps:
- uses: actions/checkout@master
- name: Parse .tool-versions
uses: wistia/[email protected]
with:
prefix: 'tool_version_'
uses: paulo-ferraz-oliveira/parse-tool-versions@v1
id: tool-versions
- uses: actions/setup-python@v5
with:
python-version: ${{ env.TOOL_VERSION_PYTHON }}
python-version: ${{ steps.tool-versions.outputs.python }}
- name: Install poetry
uses: abatilo/[email protected]
with:
poetry-version: ${{ env.TOOL_VERSION_POETRY }}
poetry-version: ${{ steps.tool-versions.outputs.poetry }}
- name: Install pip dependencies
run: poetry install
- name: Package
Expand Down

0 comments on commit 3ba61c6

Please sign in to comment.