From 6bfde64ac3d865f641ea50a3695008526f945c76 Mon Sep 17 00:00:00 2001 From: Aleksandar Knezevic Date: Fri, 22 Nov 2024 23:10:22 +0000 Subject: [PATCH 1/2] ghactions-upgraded --- .github/workflows/checks.yml | 49 ++++++++++++++++++----------------- .github/workflows/package.yml | 6 ++--- 2 files changed, 28 insertions(+), 27 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 99d23a5b6..cdc234944 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -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' @@ -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' @@ -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' @@ -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/ @@ -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' @@ -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' @@ -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................... # @@ -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' @@ -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' @@ -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..................... # @@ -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' @@ -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' @@ -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....................... # @@ -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' @@ -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' @@ -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................... # @@ -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' @@ -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' @@ -533,4 +533,5 @@ jobs: poetry run coverage xml - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v5 + diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 65a7e2247..88bd6dc63 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -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' @@ -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 @@ -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 From f3ea1ecf9f96848214e071cd03d43c466cb6f141 Mon Sep 17 00:00:00 2001 From: Aleksandar Knezevic Date: Fri, 22 Nov 2024 23:10:22 +0000 Subject: [PATCH 2/2] gh actions upgraded --- .github/workflows/checks.yml | 48 +++++++++++++++++------------------ .github/workflows/package.yml | 6 ++--- 2 files changed, 27 insertions(+), 27 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 99d23a5b6..dbceadbbd 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -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' @@ -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' @@ -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' @@ -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/ @@ -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' @@ -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' @@ -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................... # @@ -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' @@ -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' @@ -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..................... # @@ -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' @@ -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' @@ -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....................... # @@ -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' @@ -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' @@ -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................... # @@ -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' @@ -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' @@ -533,4 +533,4 @@ jobs: poetry run coverage xml - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v5 diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 65a7e2247..88bd6dc63 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -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' @@ -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 @@ -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