Skip to content

Bump System.Text.Json from 6.0.3 to 8.0.4 in /src/Kot.MongoDB.Migrations.IntegrationTests #85

Bump System.Text.Json from 6.0.3 to 8.0.4 in /src/Kot.MongoDB.Migrations.IntegrationTests

Bump System.Text.Json from 6.0.3 to 8.0.4 in /src/Kot.MongoDB.Migrations.IntegrationTests #85

Workflow file for this run

name: Build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-20.04
defaults:
run:
working-directory: ./src
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v2
with:
dotnet-version: 6.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build -c Release --no-restore
- name: Test
run: dotnet test -c Release --no-build --verbosity normal -m:1 --results-directory ../TestResults -p:CollectCoverage=true -p:CoverletOutputFormat='"json,lcov"' -p:CoverletOutput=../TestResults/ -p:MergeWith=../TestResults/coverage.json
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ./src/TestResults/coverage.info
- name: Pack
run: dotnet pack -c Release --no-build -o ../packages
- name: Archive packages
uses: actions/upload-artifact@v3
with:
name: packages
path: packages