Skip to content

Commit

Permalink
Add names to jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
DelSkayn committed Jan 30, 2024
1 parent bea6b26 commit a1ed944
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ concurrency:

jobs:
format:
name: "Format"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -33,6 +34,7 @@ jobs:
run: cargo fmt --all -- --check

doc:
name: "Documentation"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -68,6 +70,7 @@ jobs:
target/doc/rquickjs-sys
target/doc/rquickjs-macro
check:
name: "Clippy check"
runs-on: ubuntu-latest
permissions:
checks: write
Expand Down Expand Up @@ -95,6 +98,7 @@ jobs:
run: cargo clippy --all --all-targets --features full-async

msrv:
name: "Minimal rust version"
# Check to see if rquickjs builds on minimal supported Rust version.
runs-on: ubuntu-latest
# we use a matrix here just because env can't be used in job names
Expand All @@ -115,6 +119,7 @@ jobs:
run: cargo check

coverage:
name: "Test + Converage"
runs-on: ubuntu-latest
steps:
- uses: dtolnay/rust-toolchain@v1
Expand Down Expand Up @@ -149,6 +154,7 @@ jobs:
retention-days: 5

test:
name: "Platform tests"
needs:
- format
- doc
Expand Down

0 comments on commit a1ed944

Please sign in to comment.