Skip to content

Commit

Permalink
Remove runner from GitHub Actions task names
Browse files Browse the repository at this point in the history
  • Loading branch information
colinrotherham committed Nov 6, 2024
1 parent 5f2d9bc commit c1d7e5a
Showing 1 changed file with 6 additions and 16 deletions.
22 changes: 6 additions & 16 deletions .github/workflows/check-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,11 @@ concurrency:
jobs:
build:
name: Build
runs-on: ${{ matrix.runner }}
runs-on: ubuntu-24.04

strategy:
fail-fast: false

matrix:
runner:
- ubuntu-24.04

steps:
- name: Check out code
uses: actions/checkout@v4
Expand Down Expand Up @@ -64,8 +60,8 @@ jobs:
run: npm run build

lint:
name: ${{ matrix.task.description }} (${{ matrix.runner }})
runs-on: ${{ matrix.runner }}
name: ${{ matrix.task.description }}
runs-on: ubuntu-24.04
needs: [build]

env:
Expand All @@ -77,9 +73,6 @@ jobs:
fail-fast: false

matrix:
runner:
- ubuntu-24.04

task:
- description: Prettier
name: lint-prettier
Expand Down Expand Up @@ -148,17 +141,14 @@ jobs:
run: ${{ matrix.task.run }}

tasks:
name: ${{ matrix.task.description }} (${{ matrix.runner }})
runs-on: ${{ matrix.runner }}
name: ${{ matrix.task.description }}
runs-on: ubuntu-24.04
needs: [build]

strategy:
fail-fast: false

matrix:
runner:
- ubuntu-24.04

task:
- description: Unit tests
name: test-unit
Expand Down Expand Up @@ -211,7 +201,7 @@ jobs:
if: ${{ always() }}
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.task.description }} coverage (${{ matrix.runner }})
name: ${{ matrix.task.description }} coverage
path: coverage
if-no-files-found: ignore

Expand Down

0 comments on commit c1d7e5a

Please sign in to comment.