diff --git a/.github/workflows/build-wheels.yml b/.github/workflows/build-wheels.yml index ce299659..4816482d 100644 --- a/.github/workflows/build-wheels.yml +++ b/.github/workflows/build-wheels.yml @@ -12,6 +12,10 @@ jobs: steps: - uses: actions/checkout@v3 + - name: Workaround github issue https://github.com/actions/runner-images/issues/7192 + if: startsWith(matrix.os, 'ubuntu-') + run: sudo echo RESET grub-efi/install_devices | sudo debconf-communicate grub-pc + - name: Install required system packages for macOS if: startsWith(matrix.os, 'macos-') run: | diff --git a/.github/workflows/code-quality.yml b/.github/workflows/code-quality.yml index 70a423b4..494c75e8 100644 --- a/.github/workflows/code-quality.yml +++ b/.github/workflows/code-quality.yml @@ -9,6 +9,9 @@ jobs: steps: - uses: actions/checkout@v3 + - name: Workaround github issue https://github.com/actions/runner-images/issues/7192 + run: sudo echo RESET grub-efi/install_devices | sudo debconf-communicate grub-pc + - name: Install required system packages only for Ubuntu Linux run: | sudo apt-get update diff --git a/docker/python-3.10.dockerfile b/docker/python-3.10.dockerfile index c27a87a7..98d27a78 100644 --- a/docker/python-3.10.dockerfile +++ b/docker/python-3.10.dockerfile @@ -28,6 +28,7 @@ COPY . . USER root RUN chown -R user:user /opt/aleph-sdk-python +RUN git config --global --add safe.directory /opt/aleph-sdk-python RUN pip install -e .[testing,ethereum,solana,tezos] RUN mkdir /data diff --git a/docker/python-3.11.dockerfile b/docker/python-3.11.dockerfile index c5653281..d3c5022c 100644 --- a/docker/python-3.11.dockerfile +++ b/docker/python-3.11.dockerfile @@ -28,6 +28,7 @@ COPY . . USER root RUN chown -R user:user /opt/aleph-sdk-python +RUN git config --global --add safe.directory /opt/aleph-sdk-python RUN pip install -e .[testing,ethereum,solana,tezos] RUN mkdir /data diff --git a/docker/python-3.9.dockerfile b/docker/python-3.9.dockerfile index a4b5ebcf..48d27592 100644 --- a/docker/python-3.9.dockerfile +++ b/docker/python-3.9.dockerfile @@ -28,6 +28,7 @@ COPY . . USER root RUN chown -R user:user /opt/aleph-sdk-python +RUN git config --global --add safe.directory /opt/aleph-sdk-python RUN pip install -e .[testing,ethereum,solana,tezos] RUN mkdir /data