DSA/.github/workflows/dotnet.yml

32 lines
561 B
YAML
Raw Normal View History

2021-04-15 01:44:45 +00:00
name: .NET
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.x
- name: Go to directory
2021-04-15 01:50:45 +00:00
run: |
cd algorithms/CSharp
ls
2021-04-15 01:44:45 +00:00
- name: Restore dependencies
run: |
ls
dotnet restore
2021-04-15 01:44:45 +00:00
- name: Build
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal