This commit is contained in:
@@ -13,30 +13,19 @@ jobs:
|
||||
--privileged
|
||||
-v /var/run/docker.sock:/var/run/docker.sock
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Sanity check Docker
|
||||
run: |
|
||||
docker version
|
||||
docker info
|
||||
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-dotnet@v4
|
||||
with:
|
||||
dotnet-version: '9.0.x'
|
||||
|
||||
- uses: actions/cache@v4
|
||||
with:
|
||||
path: ~/.nuget/packages
|
||||
key: nuget-${{ runner.os }}-${{ hashFiles('**/*.csproj') }}
|
||||
restore-keys: |
|
||||
nuget-${{ runner.os }}-
|
||||
|
||||
- name: Restore
|
||||
- run: dotnet restore
|
||||
|
||||
- name: Build
|
||||
- run: dotnet build --configuration Release --no-restore
|
||||
|
||||
- name: Test
|
||||
- run: dotnet test --configuration Release --no-build --logger "trx;LogFileName=test-results.trx"
|
||||
|
||||
- run: dotnet test --configuration Release --no-build --logger "trx;LogFileName=test-results.trx"
|
||||
Reference in New Issue
Block a user