From a89deeb302b48c9c6efc76d9d96c96d8c664745f Mon Sep 17 00:00:00 2001 From: Ryan Johnson Date: Tue, 5 Sep 2023 17:24:20 -0700 Subject: [PATCH] Give human-readable names to CI jobs (#524) # Objective - Give human-readable names to jobs in CI. # Solution - Update ci.yml --- .github/workflows/ci.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5dae15364..78e12f7f5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,6 +12,7 @@ env: jobs: valence-fmt: + name: Formatting runs-on: ubuntu-latest steps: - name: Checkout Actions Repository @@ -30,6 +31,7 @@ jobs: run: cargo fmt --all -- --check valence-docs: + name: Documentation runs-on: ubuntu-latest steps: - name: Checkout Actions Repository @@ -48,6 +50,7 @@ jobs: run: RUSTDOCFLAGS="-D warnings" cargo doc --workspace --no-deps --all-features --document-private-items typos: + name: Typos runs-on: ubuntu-latest steps: - name: Checkout Actions Repository @@ -57,6 +60,7 @@ jobs: uses: crate-ci/typos@v1.16.5 valence-clippy: + name: Clippy runs-on: ubuntu-latest steps: - name: Checkout Actions Repository @@ -88,9 +92,8 @@ jobs: include: - style: default flags: "" - + name: Tests (${{ matrix.platform }}) runs-on: ${{ matrix.platform }} - steps: - name: Checkout Actions Repository uses: actions/checkout@v3 @@ -114,7 +117,8 @@ jobs: - name: Run valence_nbt tests without preserve_order feature run: cargo test -p valence_nbt --all-targets - extractor-tests: + extractor-build: + name: Build Extractor runs-on: ubuntu-latest steps: - name: Checkout Actions Repository @@ -131,6 +135,7 @@ jobs: working-directory: extractor check-depgraph: + name: Dependency Graph (assets/depgraph.svg) runs-on: ubuntu-latest steps: - name: Checkout Actions Repository @@ -184,7 +189,7 @@ jobs: name: bad-depgraph path: bad-depgraph/ udeps: - name: Check for unused dependencies + name: Unused Dependencies runs-on: ubuntu-latest steps: - name: Checkout Actions Repository