Skip to content

Commit

Permalink
ci: update to actions/checkout@v4
Browse files Browse the repository at this point in the history
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:
actions/checkout#1067
  • Loading branch information
link2xt committed Feb 17, 2024
1 parent 862107c commit 8289dc9
Show file tree
Hide file tree
Showing 11 changed files with 74 additions and 32 deletions.
42 changes: 30 additions & 12 deletions .github/workflows/ci.yml
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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

Expand All @@ -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
Expand All @@ -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 }}
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
16 changes: 12 additions & 4 deletions .github/workflows/deltachat-rpc-server.yml
Expand Up @@ -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
Expand Down Expand Up @@ -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 }}
Expand All @@ -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
Expand All @@ -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
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/jsonrpc-client-npm-package.yml
Expand Up @@ -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"
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/jsonrpc.yml
Expand Up @@ -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:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/node-docs.yml
Expand Up @@ -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
Expand Down
15 changes: 9 additions & 6 deletions .github/workflows/node-package.yml
Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/node-tests.yml
Expand Up @@ -23,8 +23,9 @@ jobs:
matrix:
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"
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/repl.yml
Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/upload-docs.yml
Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/upload-ffi-docs.yml
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/upload-python-docs.yml
Expand Up @@ -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
Expand Down

0 comments on commit 8289dc9

Please sign in to comment.