Skip to content

Commit

Permalink
Updates outdated github actions in legacy CI
Browse files Browse the repository at this point in the history
  • Loading branch information
norman-codes committed Sep 11, 2024
1 parent f2a0140 commit 5a252df
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions .github/workflows/legacy_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:
- "3.11"

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Python ${{ matrix.python-version }} Setup
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

Expand All @@ -38,7 +38,6 @@ jobs:
shell: bash
run: |
pip install poetry
if [ -d /poetryenvs ]; then rm -rf ~/poetryenvs; fi
poetry config virtualenvs.path ~/poetryenvs
poetry install
Expand Down Expand Up @@ -66,13 +65,13 @@ jobs:
poetry run pydocstyle hume
- name: Upload HTML Coverage
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: hume-unit-coverage-html
path: hume/htmlcov

- name: Upload XML Coverage
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: hume-unit-coverage-xml
path: hume/coverage.xml
Expand All @@ -88,10 +87,10 @@ jobs:
- "3.10"

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Python ${{ matrix.python-version }} Setup
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

Expand All @@ -105,7 +104,6 @@ jobs:
shell: bash
run: |
pip install poetry
if [ -d /poetryenvs ]; then rm -rf ~/poetryenvs; fi
poetry config virtualenvs.path ~/poetryenvs
poetry install
Expand All @@ -119,13 +117,13 @@ jobs:
poetry run pytest tests/custom/_legacy -m service
- name: Upload HTML Coverage
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: hume-service-coverage-html
path: hume/htmlcov

- name: Upload XML Coverage
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: hume-service-coverage-xml
path: hume/coverage.xml
Expand All @@ -139,10 +137,10 @@ jobs:
- "3.10"

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Python ${{ matrix.python-version }} Setup
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

Expand Down

0 comments on commit 5a252df

Please sign in to comment.