Skip to content

optimize auto merge for github actions #704

optimize auto merge for github actions

optimize auto merge for github actions #704

Workflow file for this run

name: Build & Test
on:
push:
paths:
- 'src/**'
- '.github/workflows/**'
branches: [ main ]
pull_request:
paths:
- 'src/**'
- '.github/workflows/**'
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET 8.0
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Restore dependencies
working-directory: ./src
run: dotnet restore
- name: Build
working-directory: ./src
run: dotnet build --configuration Release --no-restore
- name: Test
working-directory: ./src
run: |
dotnet test --configuration Release --no-restore --no-build --verbosity normal