diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d129c697..a0598912 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -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 @@ -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"