Use more descriptive names for GitHub Checks

The existing checks didn't read well in the `gh` cli:

    ❯ gh pr checks
    All checks were successful
    0 failing, 7 successful, 0 skipped, and 0 pending checks

    ✓  DCO                                 https://probot.github.io/apps/dco/
    ✓  Docs                         6m37s  https://github.com/dagger/dagger/runs/5136044870?check_suite_focus=true
    ✓  Everything                   1m43s  https://github.com/dagger/dagger/runs/5136044863?check_suite_focus=true
    ✓  Integration                  4m10s  https://github.com/dagger/dagger/runs/5136044871?check_suite_focus=true
    ✓  Universe                     11m6s  https://github.com/dagger/dagger/runs/5136044860?check_suite_focus=true
    ✓  Universe - Europa            3m18s  https://github.com/dagger/dagger/runs/5136044932?check_suite_focus=true
    ✓  netlify/devel-docs-dagge...         https://app.netlify.com/sites/devel-docs-dagger-io/deploys/620499ee88ee240008b6cabf

This change gives them more descriptive names:

    ❯ gh pr checks
    All checks were successful
    0 failing, 8 successful, 0 skipped, and 0 pending checks

    ✓  DCO                                             https://probot.github.io/apps/dco/
    ✓  Integration Tests                       4m22s   https://github.com/dagger/dagger/runs/5139842686?check_suite_focus=true
    ✓  Lint                                    1m29s   https://github.com/dagger/dagger/runs/5139842774?check_suite_focus=true
    ✓  Test Docs                               7m44s   https://github.com/dagger/dagger/runs/5139842682?check_suite_focus=true
    ✓  Unit Tests                              2m11s   https://github.com/dagger/dagger/runs/5139842684?check_suite_focus=true
    ✓  Universe Tests                          13m14s  https://github.com/dagger/dagger/runs/5139842932?check_suite_focus=true
    ✓  Universe Tests - Europa                 2m36s   https://github.com/dagger/dagger/runs/5139842678?check_suite_focus=true
    ✓  netlify/devel-docs-dagger-io/deploy...          https://deploy-preview-1593--devel-docs-dagger-io.netlify.app

Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
This commit is contained in:
Gerhard Lazu 2022-02-10 11:13:04 +00:00
parent b2aaa3f440
commit 15f156e8c7
No known key found for this signature in database
GPG Key ID: A28DE70C9444D7A6
7 changed files with 18 additions and 20 deletions

View File

@ -27,8 +27,8 @@ on:
- '.github/workflows/lint.yml' - '.github/workflows/lint.yml'
jobs: jobs:
everything: lint:
name: Everything name: Lint
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: "Check out" - name: "Check out"

View File

@ -9,7 +9,8 @@ on:
- v* - v*
jobs: jobs:
goreleaser: release:
name: "Release"
runs-on: ubuntu-latest runs-on: ubuntu-latest
defaults: defaults:
run: run:

View File

@ -19,8 +19,8 @@ on:
- '.github/workflows/test-docs.yml' - '.github/workflows/test-docs.yml'
jobs: jobs:
docs: test-docs:
name: Docs name: "Test Docs"
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 15 timeout-minutes: 15
steps: steps:

View File

@ -25,8 +25,8 @@ on:
- '.github/workflows/test-integration.yml' - '.github/workflows/test-integration.yml'
jobs: jobs:
integration: test-integration:
name: Integration name: "Integration Tests"
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 30 timeout-minutes: 30
steps: steps:

View File

@ -19,8 +19,8 @@ on:
- '.github/workflows/test-unit.yml' - '.github/workflows/test-unit.yml'
jobs: jobs:
unit: unit-tests:
name: Unit name: "Unit Tests"
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 30 timeout-minutes: 30
steps: steps:

View File

@ -25,8 +25,8 @@ on:
- '.github/workflows/test-universe.yml' - '.github/workflows/test-universe.yml'
jobs: jobs:
universe: universe-tests:
name: Universe name: "Universe Tests"
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 30 timeout-minutes: 30
services: services:
@ -85,8 +85,8 @@ jobs:
run: | run: |
make universe-test make universe-test
universe-europa: universe-europa-tests:
name: "Universe - Europa" name: "Universe Tests - Europa"
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 30 timeout-minutes: 30
steps: steps:

View File

@ -1,21 +1,18 @@
name: Website # TODO: https://github.com/dagger/dagger.io/issues/45
name: "Test Website"
on: on:
push: push:
branches: [main] branches: [main]
paths: paths:
- "website/**" - "website/**"
pull_request:
branches: [main]
paths:
- "website/**"
# Allows you to run this workflow manually from the Actions tab # Allows you to run this workflow manually from the Actions tab
workflow_dispatch: workflow_dispatch:
jobs: jobs:
website: test-website:
name: Website name: "Test Website"
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout