Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
kolappannathan committed Jul 16, 2022
2 parents 5719f99 + cf3b311 commit ddb8d9d
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 8 deletions.
27 changes: 23 additions & 4 deletions .github/workflows/CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@ on:
branches: [ main ]

jobs:
build:
build-windows:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v3.0.0
uses: actions/checkout@v3.0.2
with:
fetch-depth: 0 # For the vs-intellicode action (https://github.com/microsoft/vs-intellicode#usage)
- name: Setup .NET Core SDK
uses: actions/setup-dotnet@v2.0.0
uses: actions/setup-dotnet@v2.1.0
with:
dotnet-version: 6.0.x
- name: Install dependencies
Expand All @@ -25,6 +27,23 @@ jobs:
- name: Test
run: |
cd ./src/WebApiBolierplate
dotnet test .\Core.Test\Core.Test.csproj
dotnet test ./Core.Test/Core.Test.csproj
- name: IntelliCode Team Completions
uses: microsoft/vs-intellicode@v1.0
build-linux:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3.0.2
- name: Install dependencies
run: |
cd ./src/WebApiBolierplate
dotnet restore
- name: Build
run: |
cd ./src/WebApiBolierplate
dotnet build --configuration Release --no-restore
- name: Test
run: |
cd ./src/WebApiBolierplate
dotnet test ./Core.Test/Core.Test.csproj
25 changes: 21 additions & 4 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ on:
branches: [ main ]

jobs:
build:
build-windows:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v3.0.0
uses: actions/checkout@v3.0.2
- name: Setup .NET Core SDK
uses: actions/setup-dotnet@v2.0.0
uses: actions/setup-dotnet@v2.1.0
with:
dotnet-version: 6.0.x
- name: Install dependencies
Expand All @@ -25,4 +25,21 @@ jobs:
- name: Test
run: |
cd ./src/WebApiBolierplate
dotnet test .\Core.Test\Core.Test.csproj
dotnet test ./Core.Test/Core.Test.csproj
build-linux:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3.0.2
- name: Install dependencies
run: |
cd ./src/WebApiBolierplate
dotnet restore
- name: Build
run: |
cd ./src/WebApiBolierplate
dotnet build --configuration Release --no-restore
- name: Test
run: |
cd ./src/WebApiBolierplate
dotnet test ./Core.Test/Core.Test.csproj

0 comments on commit ddb8d9d

Please sign in to comment.