Skip to content

Commit

Permalink
Give human-readable names to CI jobs (#524)
Browse files Browse the repository at this point in the history
# Objective

- Give human-readable names to jobs in CI.

# Solution

- Update ci.yml
  • Loading branch information
rj00a authored Sep 6, 2023
1 parent eb6d772 commit a89deeb
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ env:

jobs:
valence-fmt:
name: Formatting
runs-on: ubuntu-latest
steps:
- name: Checkout Actions Repository
Expand All @@ -30,6 +31,7 @@ jobs:
run: cargo fmt --all -- --check

valence-docs:
name: Documentation
runs-on: ubuntu-latest
steps:
- name: Checkout Actions Repository
Expand All @@ -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
Expand All @@ -57,6 +60,7 @@ jobs:
uses: crate-ci/[email protected]

valence-clippy:
name: Clippy
runs-on: ubuntu-latest
steps:
- name: Checkout Actions Repository
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit a89deeb

Please sign in to comment.