Skip to content

Commit

Permalink
ghactions-upgraded
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksandarknezevic committed Nov 22, 2024
1 parent bfcdb20 commit 6bfde64
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 27 deletions.
49 changes: 25 additions & 24 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
poetry config installer.modern-installation false
- name: Set up Python 3.12
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: 'poetry'
Expand Down Expand Up @@ -75,7 +75,7 @@ jobs:

- uses: actions/checkout@v4
- uses: asdf-vm/actions/setup@v3
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: 'pip'
Expand All @@ -87,7 +87,7 @@ jobs:
poetry config installer.modern-installation false
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'poetry'
Expand Down Expand Up @@ -124,7 +124,7 @@ jobs:
poetry run poe compile_contracts v1
- name: Upload contracts artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: contract-artifacts
path: starknet_py/tests/e2e/mock/
Expand All @@ -149,12 +149,12 @@ jobs:
- uses: actions/checkout@v4

- name: Download contracts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: contract-artifacts
path: starknet_py/tests/e2e/mock/

- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: 'pip'
Expand All @@ -168,7 +168,7 @@ jobs:
poetry config installer.modern-installation false
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'poetry'
Expand Down Expand Up @@ -241,7 +241,7 @@ jobs:
poetry run coverage xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v5

# ---------------------------------------------------------- #
# ..................RUN-TESTS-ON-NETWORKS................... #
Expand All @@ -261,12 +261,12 @@ jobs:
- uses: actions/checkout@v4

- name: Download contracts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: contract-artifacts
path: starknet_py/tests/e2e/mock/

- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: 'pip'
Expand All @@ -280,7 +280,7 @@ jobs:
poetry config installer.modern-installation false
- name: Set up Python 3.12
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: 'poetry'
Expand Down Expand Up @@ -309,7 +309,7 @@ jobs:
poetry run coverage xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v5

# ---------------------------------------------------------- #
# ....................RUN-TESTS-WINDOWS..................... #
Expand All @@ -333,12 +333,12 @@ jobs:
toolchain: 1.79.0 # Doesn't work with "stable"

- name: Download contracts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: contract-artifacts
path: starknet_py/tests/e2e/mock/

- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: 'pip'
Expand Down Expand Up @@ -367,7 +367,7 @@ jobs:
poetry config installer.modern-installation false
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'poetry'
Expand All @@ -392,7 +392,7 @@ jobs:
poetry run coverage xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v5

# ---------------------------------------------------------- #
# .....................RUN-DOCS-TESTS....................... #
Expand All @@ -410,12 +410,12 @@ jobs:
- uses: actions/checkout@v4

- name: Download contracts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: contract-artifacts
path: starknet_py/tests/e2e/mock/

- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: 'pip'
Expand All @@ -429,7 +429,7 @@ jobs:
poetry config installer.modern-installation false
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'poetry'
Expand All @@ -455,7 +455,7 @@ jobs:
poetry run coverage xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v5

# ---------------------------------------------------------- #
# .................RUN-DOCS-TESTS-WINDOWS................... #
Expand All @@ -477,12 +477,12 @@ jobs:
toolchain: 1.79.0 # Doesn't work with "stable"

- name: Download contracts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: contract-artifacts
path: starknet_py/tests/e2e/mock/

- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: 'pip'
Expand All @@ -496,7 +496,7 @@ jobs:
poetry config installer.modern-installation false
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'poetry'
Expand Down Expand Up @@ -533,4 +533,5 @@ jobs:
poetry run coverage xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v5

6 changes: 3 additions & 3 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: '3.9'

Expand All @@ -22,7 +22,7 @@ jobs:
- name: Build SDist
run: poetry build -f sdist

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
path: dist/*.tar.gz

Expand All @@ -32,7 +32,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: artifact
path: dist
Expand Down

0 comments on commit 6bfde64

Please sign in to comment.