From c764de6eba7b78c13195a82f9160e33aa115da17 Mon Sep 17 00:00:00 2001 From: Alexander Samusev <41779041+alvicsam@users.noreply.github.com> Date: Mon, 3 Jun 2024 15:42:55 +0200 Subject: [PATCH] [ci] Increase timeout for check-runtime-migration workflow (#4674) `[check-runtime-migration` now takes more than 30 minutes. Quick fix with increased timeout. --- .github/workflows/check-runtime-migration.yml | 2 +- .github/workflows/checks-quick.yml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/check-runtime-migration.yml b/.github/workflows/check-runtime-migration.yml index 984e264d0d1d1..671673c02c09e 100644 --- a/.github/workflows/check-runtime-migration.yml +++ b/.github/workflows/check-runtime-migration.yml @@ -34,7 +34,7 @@ jobs: # rococo and westend are disabled for now (no access to parity-chains.parity.io) check-runtime-migration: runs-on: arc-runners-polkadot-sdk-beefy - timeout-minutes: 30 + timeout-minutes: 40 needs: [set-image] container: image: ${{ needs.set-image.outputs.IMAGE }} diff --git a/.github/workflows/checks-quick.yml b/.github/workflows/checks-quick.yml index c4382d1b9b40e..7a10d8e0949fe 100644 --- a/.github/workflows/checks-quick.yml +++ b/.github/workflows/checks-quick.yml @@ -119,7 +119,7 @@ jobs: echo "Checking markdown formatting. More info: docs/contributor/markdown_linting.md" markdownlint --config "$CONFIG" --ignore target . check-umbrella: - runs-on: arc-runners-polkadot-sdk + runs-on: ubuntu-latest timeout-minutes: 10 needs: [set-image] container: @@ -127,11 +127,11 @@ jobs: steps: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.0 (22. Sep 2023) - name: install python deps - run: | - sudo apt-get update && sudo apt-get install -y python3-pip python3 - pip3 install "cargo-workspace>=1.2.4" toml + run: pip3 install "cargo-workspace>=1.2.4" toml - name: check umbrella correctness run: | + # Fixes "detected dubious ownership" error in the ci + git config --global --add safe.directory '*' python3 scripts/generate-umbrella.py --sdk . --version 0.1.0 cargo +nightly fmt --all