Skip to content

Commit

Permalink
Updated ci yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Rushikesh Vyas committed Sep 22, 2023
1 parent fd369ed commit 3d563cf
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,30 @@ on:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
paths-ignore: ["*.md"]

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
dotnet-version: [ '6.0.x', '7.0.x' ]

steps:
- uses: actions/checkout@v3
- name: Setup .NET
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup .NET SDK ${{ matrix.dotnet-version }}
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
dotnet-version: ${{ matrix.dotnet-version }}

- name: Restore dependencies
run: dotnet restore
working-directory: src/

- name: Build
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal
working-directory: src/

0 comments on commit 3d563cf

Please sign in to comment.