Skip to content

Commit

Permalink
feat: lint before build .net
Browse files Browse the repository at this point in the history
  • Loading branch information
omar-muscatello-zupit committed Nov 18, 2023
1 parent dabcff1 commit 18c97a3
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/dotnet-workflow-common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,17 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3

- name: Build
uses: zupit-it/pipeline-templates/.github/actions/dotnet/[email protected]
- name: Check code formatting
uses: zupit-it/pipeline-templates/.github/actions/dotnet/format@dotnet-formatter-version-choice
with:
WORKING_DIRECTORY: ${{ inputs.WORKING_DIRECTORY }}
BUILD_CONFIG: "Debug"
CSHARPIER_VERSION: ${{ inputs.CSHARPIER_VERSION }}

- name: Check code formatting
uses: zupit-it/pipeline-templates/.github/actions/dotnet/format@v1.8.1
- name: Build
uses: zupit-it/pipeline-templates/.github/actions/dotnet/build@v1.8.1
with:
WORKING_DIRECTORY: ${{ inputs.WORKING_DIRECTORY }}
CSHARPIER_VERSION: ${{ inputs.CSHARPIER_VERSION }}
BUILD_CONFIG: "Debug"

- name: Run tests
uses: zupit-it/pipeline-templates/.github/actions/dotnet/[email protected]
Expand Down

0 comments on commit 18c97a3

Please sign in to comment.