Skip to content

Commit

Permalink
ci: give names to jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
dmke committed Mar 31, 2022
1 parent da331a4 commit db70eeb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ on:
jobs:
# update digineode/texd:base image
base:
name: Create digineode/texd:base
runs-on: ubuntu-latest
steps:
- name: Setup QEMU
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ env:

jobs:
test:
name: Run tests
runs-on: ubuntu-latest

steps:
Expand Down Expand Up @@ -40,6 +41,7 @@ jobs:
file: coverage.out

lint:
name: Run linter
runs-on: ubuntu-latest

steps:
Expand All @@ -66,6 +68,7 @@ jobs:
skip-cache: true

release:
name: Create release artifacts
if: startsWith(github.ref, 'refs/tags/v') && github.event_name != 'pull_request'
needs: [test, lint]

Expand Down Expand Up @@ -131,7 +134,8 @@ jobs:
context: .

latest:
if: github.ref == 'master' && github.event_name != 'pull_request'
name: Create digineode/texd:latest image
if: github.ref == 'refs/heads/master' && github.event_name != 'pull_request'
needs: [test, lint]

runs-on: ubuntu-latest
Expand Down

0 comments on commit db70eeb

Please sign in to comment.