Skip to content

Commit

Permalink
CI: better names for job & workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
knocte committed Oct 21, 2022
1 parent eedb0a8 commit a0ae5d4
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
name: Build & test on ubuntu
name: CI

on: [push, pull_request]

jobs:
build:
build_and_test:
name: Build & Test
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
Expand All @@ -20,8 +21,8 @@ jobs:
- name: Test
run: dotnet test --no-restore --verbosity normal

sanitycheck:
needs: build
sanity_check:
needs: build_and_test
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -62,7 +63,7 @@ jobs:
run: npx commitlint --from HEAD~1 --to HEAD --verbose

package:
needs: sanitycheck
needs: sanity_check
runs-on: ubuntu-20.04
env:
BASE_VERSION: "0.12.0"
Expand Down

0 comments on commit a0ae5d4

Please sign in to comment.