Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
phmatray authored Nov 26, 2023
1 parent 6257814 commit 70ac3bb
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ permissions:
contents: read

jobs:
setup:
build-and-test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
Expand All @@ -40,23 +40,17 @@ jobs:
- name: Restore dependencies
run: dotnet restore

build:
needs: setup
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
dotnet: ['7.x', '8.x']
steps:
- name: Build Project
run: dotnet build --no-restore

- name: Run Unit Tests
run: dotnet test --no-build --verbosity normal --collect:"XPlat Code Coverage"

- name: Upload Code Coverage
uses: codecov/codecov-action@v3

update_release_draft:
needs: build
needs: build-and-test
permissions:
contents: write
pull-requests: write
Expand Down

0 comments on commit 70ac3bb

Please sign in to comment.