Update Constants.cs #32
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: .NET & Testing | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: 7.0.x | |
- name: Restore dependencies | |
run: dotnet restore TemplateCQRS.sln | |
- name: Build | |
run: dotnet build TemplateCQRS.sln --no-restore | |
# - name: Run unit tests | |
# run: dotnet test --filter FullyQualifiedName~TemplateCQRS.UnitTest --no-build --verbosity normal | |
# | |
# - name: Run integration tests | |
# run: dotnet test --filter FullyQualifiedName~TemplateCQRS.IntegrationTest --no-build --verbosity normal | |
# dotnet-format: | |
# runs-on: ubuntu-latest # use ubuntu-latest instead of windows-latest | |
# | |
# steps: | |
# - name: Check out code | |
# uses: actions/checkout@v3 | |
# | |
# - name: Setup .NET Core | |
# uses: actions/setup-dotnet@v3 | |
# with: | |
# dotnet-version: "7.0.x" # use .NET 7 | |
# include-prerelease: true | |
# | |
# - name: Install dotnet-format tool | |
# run: dotnet tool install -g dotnet-format | |
# | |
# - name: Run dotnet-format | |
# run: dotnet-format --check --no-restore |