From 29019d4997d53ac083159fb0d757bbb2222556e2 Mon Sep 17 00:00:00 2001 From: Pietro Albini Date: Mon, 26 Aug 2019 10:19:24 +0200 Subject: ci: move `cargo build` to its own step On GitHub Actions each step needs to be expanded manually to see the logs, and the previous "Validate the repository contents" step both compiled the validation tool and ran it. Most of the failures happen during the validation step, so people wanting to see the cause of the failure had to scroll a lot. This splits the validation in two steps: first the tool is built, and then it's run, fixing the issue. --- .github/workflows/main.yml | 3 +++ 1 file changed, 3 insertions(+) (limited to '.github') diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d5bb822..ecbb064 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,6 +17,9 @@ jobs: rustup default stable rustc -vV + - name: Build the validation tool + run: cargo build + - name: Validate the repository contents run: cargo run -- check --strict env: -- cgit v1.2.3