Skip to content

Add the CI / Release github actions (fixes #9). #1

Add the CI / Release github actions (fixes #9).

Add the CI / Release github actions (fixes #9). #1

name: Continuous Integration
on:
pull_request:
branches: [ "main" ]
push:
branches: [ "releases/**" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET 8.x
uses: actions/setup-dotnet@v3
with:
dotnet-version: '8.x'
- name: Build
run: dotnet build --property:Configuration=Debug "PosInformatique.Moq.Analyzers.sln"
- name: Test with the dotnet CLI
run: dotnet test --property:Configuration=Debug "PosInformatique.Moq.Analyzers.sln"