From e26986232787c3afa74a85bf448cceaec759560e Mon Sep 17 00:00:00 2001 From: link2xt Date: Thu, 15 Feb 2024 10:00:36 +0000 Subject: [PATCH] ci: update to actions/checkout@v4 Also disable --progress. It is not disabled by default for backward compatibility, but solves the problem of lots of progress lines in the downloadable raw output: https://github.com/actions/checkout/pull/1067 --- .github/workflows/ci.yml | 42 +++++++++++++------ .github/workflows/deltachat-rpc-server.yml | 16 +++++-- .../workflows/jsonrpc-client-npm-package.yml | 5 ++- .github/workflows/jsonrpc.yml | 4 +- .github/workflows/node-docs.yml | 4 +- .github/workflows/node-package.yml | 15 ++++--- .github/workflows/node-tests.yml | 4 +- .github/workflows/repl.yml | 4 +- .github/workflows/upload-docs.yml | 4 +- .github/workflows/upload-ffi-docs.yml | 4 +- .github/workflows/upload-python-docs.yml | 3 +- 11 files changed, 74 insertions(+), 31 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a1c46bda8e..7774d6556c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,7 +26,9 @@ jobs: env: RUSTUP_TOOLCHAIN: 1.75.0 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + with: + show-progress: false - name: Install rustfmt and clippy run: rustup toolchain install $RUSTUP_TOOLCHAIN --profile minimal --component rustfmt --component clippy - name: Cache rust cargo artifacts @@ -42,7 +44,9 @@ jobs: name: cargo deny runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + with: + show-progress: false - uses: EmbarkStudios/cargo-deny-action@v1 with: arguments: --all-features --workspace @@ -53,7 +57,9 @@ jobs: name: Check provider database runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + with: + show-progress: false - name: Check provider database run: scripts/update-provider-database.sh @@ -63,8 +69,9 @@ jobs: env: RUSTDOCFLAGS: -Dwarnings steps: - - name: Checkout sources - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + with: + show-progress: false - name: Cache rust cargo artifacts uses: swatinem/rust-cache@v2 - name: Rustdoc @@ -87,7 +94,9 @@ jobs: rust: 1.70.0 runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + with: + show-progress: false - name: Install Rust ${{ matrix.rust }} run: rustup toolchain install --profile minimal ${{ matrix.rust }} @@ -111,7 +120,9 @@ jobs: os: [ubuntu-latest, macos-latest] runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + with: + show-progress: false - name: Cache rust cargo artifacts uses: swatinem/rust-cache@v2 @@ -133,7 +144,9 @@ jobs: os: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + with: + show-progress: false - name: Cache rust cargo artifacts uses: swatinem/rust-cache@v2 @@ -152,8 +165,9 @@ jobs: name: Python lint runs-on: ubuntu-latest steps: - - name: Checkout sources - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + with: + show-progress: false - name: Install tox run: pip install tox @@ -193,7 +207,9 @@ jobs: runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + with: + show-progress: false - name: Download libdeltachat.a uses: actions/download-artifact@v4 @@ -243,7 +259,9 @@ jobs: runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + with: + show-progress: false - name: Install python uses: actions/setup-python@v4 diff --git a/.github/workflows/deltachat-rpc-server.yml b/.github/workflows/deltachat-rpc-server.yml index ec72f800e0..bc0cf75553 100644 --- a/.github/workflows/deltachat-rpc-server.yml +++ b/.github/workflows/deltachat-rpc-server.yml @@ -24,7 +24,9 @@ jobs: name: Cross-compile deltachat-rpc-server for x86_64, i686, aarch64 and armv7 Linux runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + with: + show-progress: false - name: Install ziglang run: pip install wheel ziglang==0.11.0 @@ -57,7 +59,9 @@ jobs: runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + with: + show-progress: false - name: Setup rust target run: rustup target add ${{ matrix.target }} @@ -83,7 +87,9 @@ jobs: runs-on: macos-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + with: + show-progress: false - name: Setup rust target run: rustup target add ${{ matrix.arch }}-apple-darwin @@ -105,7 +111,9 @@ jobs: contents: write runs-on: "ubuntu-latest" steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + with: + show-progress: false - name: Download Linux binaries uses: actions/download-artifact@v4 diff --git a/.github/workflows/jsonrpc-client-npm-package.yml b/.github/workflows/jsonrpc-client-npm-package.yml index 37821e0a02..97555d6db4 100644 --- a/.github/workflows/jsonrpc-client-npm-package.yml +++ b/.github/workflows/jsonrpc-client-npm-package.yml @@ -13,8 +13,9 @@ jobs: steps: - name: Install tree run: sudo apt install tree - - name: Checkout - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + with: + show-progress: false - uses: actions/setup-node@v3 with: node-version: "18" diff --git a/.github/workflows/jsonrpc.yml b/.github/workflows/jsonrpc.yml index 0ed7d8ecd0..ae9a095ff8 100644 --- a/.github/workflows/jsonrpc.yml +++ b/.github/workflows/jsonrpc.yml @@ -14,7 +14,9 @@ jobs: build_and_test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + with: + show-progress: false - name: Use Node.js 18.x uses: actions/setup-node@v3 with: diff --git a/.github/workflows/node-docs.yml b/.github/workflows/node-docs.yml index ff069254c1..47b4741648 100644 --- a/.github/workflows/node-docs.yml +++ b/.github/workflows/node-docs.yml @@ -14,7 +14,9 @@ jobs: generate: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + with: + show-progress: false - name: Use Node.js 18.x uses: actions/setup-node@v3 diff --git a/.github/workflows/node-package.yml b/.github/workflows/node-package.yml index 0cb998c8f3..4ed5bad26c 100644 --- a/.github/workflows/node-package.yml +++ b/.github/workflows/node-package.yml @@ -14,8 +14,9 @@ jobs: matrix: os: [macos-latest, windows-latest] steps: - - name: Checkout - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + with: + show-progress: false - uses: actions/setup-node@v3 with: node-version: "18" @@ -74,8 +75,9 @@ jobs: - name: Change working directory owner run: chown root:root . - - name: Checkout - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + with: + show-progress: false - uses: actions/setup-node@v3 with: node-version: "18" @@ -137,8 +139,9 @@ jobs: steps: - name: Install tree run: sudo apt install tree - - name: Checkout - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + with: + show-progress: false - uses: actions/setup-node@v2 with: node-version: "18" diff --git a/.github/workflows/node-tests.yml b/.github/workflows/node-tests.yml index 0a132523fa..e679aead57 100644 --- a/.github/workflows/node-tests.yml +++ b/.github/workflows/node-tests.yml @@ -24,7 +24,9 @@ jobs: os: [ubuntu-latest, macos-latest, windows-latest] steps: - name: Checkout - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + with: + show-progress: false - uses: actions/setup-node@v3 with: node-version: "18" diff --git a/.github/workflows/repl.yml b/.github/workflows/repl.yml index c9c6f7d149..a29e45452b 100644 --- a/.github/workflows/repl.yml +++ b/.github/workflows/repl.yml @@ -12,7 +12,9 @@ jobs: name: Build REPL example runs-on: windows-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + with: + show-progress: false - name: Build run: cargo build -p deltachat-repl --features vendored diff --git a/.github/workflows/upload-docs.yml b/.github/workflows/upload-docs.yml index d670ed3561..4cab238400 100644 --- a/.github/workflows/upload-docs.yml +++ b/.github/workflows/upload-docs.yml @@ -10,7 +10,9 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + with: + show-progress: false - name: Build the documentation with cargo run: | cargo doc --package deltachat --no-deps --document-private-items diff --git a/.github/workflows/upload-ffi-docs.yml b/.github/workflows/upload-ffi-docs.yml index f40b491d30..fc7a48f2d6 100644 --- a/.github/workflows/upload-ffi-docs.yml +++ b/.github/workflows/upload-ffi-docs.yml @@ -14,7 +14,9 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + with: + show-progress: false - name: Build the documentation with cargo run: | cargo doc --package deltachat_ffi --no-deps diff --git a/.github/workflows/upload-python-docs.yml b/.github/workflows/upload-python-docs.yml index 141da1f9d0..c8f7854dc9 100644 --- a/.github/workflows/upload-python-docs.yml +++ b/.github/workflows/upload-python-docs.yml @@ -10,8 +10,9 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: + show-progress: false fetch-depth: 0 # Fetch history to calculate VCS version number. - name: Build Python documentation run: scripts/build-python-docs.sh