- Add .NET CI pipeline (restore, build --warnaserror, test on JP branch) - Add Dependabot for nuget and github-actions ecosystems Co-Authored-By: Svrnty Inc. <eng@svrnty.com>
28 lines
529 B
YAML
28 lines
529 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches: [JP]
|
|
pull_request:
|
|
branches: [JP]
|
|
|
|
jobs:
|
|
build-and-test:
|
|
name: Build & Test
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: actions/setup-dotnet@v4
|
|
with:
|
|
dotnet-version: "8.x"
|
|
|
|
- name: Restore
|
|
run: dotnet restore Svrnty.CQRS.sln
|
|
|
|
- name: Build
|
|
run: dotnet build Svrnty.CQRS.sln --no-restore --warnaserror
|
|
|
|
- name: Test
|
|
run: dotnet test Svrnty.CQRS.sln --no-build --verbosity normal
|