fix: src/REstate.Remote/REstate.Remote.csproj to reduce vulnerabilities #101
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: .NET Core | |
on: [push] | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 # avoid shallow clone so nbgv can do its work. | |
- name: Setup .NET Core | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 3.1.101 | |
- name: Install Nerdbank.GitVersioning global tool | |
uses: AArnott/[email protected] | |
- name: Restore and Build | |
run: dotnet build --configuration Release | |
- name: Test | |
run: dotnet test --no-build --configuration Release | |
- name: Pack | |
run: dotnet pack --no-build --configuration Release -o ./packages | |
- name: Upload packages as artifact | |
uses: actions/upload-artifact@v1 | |
with: | |
name: packages | |
path: packages |