diff --git a/.github/workflows/pr-apps.yml b/.github/workflows/pr-apps.yml index 1507cf8c..f11f0f2d 100644 --- a/.github/workflows/pr-apps.yml +++ b/.github/workflows/pr-apps.yml @@ -1,11 +1,7 @@ name: "PR: Apps" on: - pull_request: - paths: - - src/** - - .github/workflows/apps-* - - .github/workflows/infra-* + pull_request: {} jobs: find-verticals: diff --git a/.github/workflows/pr-libs.yml b/.github/workflows/pr-libs.yml index ca668574..b5dcc200 100644 --- a/.github/workflows/pr-libs.yml +++ b/.github/workflows/pr-libs.yml @@ -1,14 +1,10 @@ name: "PR: Libs" on: - pull_request: - paths: - - src/** - - .github/workflows/libs-* + pull_request: {} env: - DOTNET_VERSION: 8.0.x - DIR: src/libs + DIR: src/pkgs jobs: find-verticals: diff --git a/.github/workflows/pr-pkgs.yml b/.github/workflows/pr-pkgs.yml new file mode 100644 index 00000000..1bbe65d5 --- /dev/null +++ b/.github/workflows/pr-pkgs.yml @@ -0,0 +1,31 @@ +name: "PR: Pkgs" + +on: + pull_request: {} + +jobs: + find-verticals: + uses: ./.github/workflows/_find-verticals.yml + with: + type: pkg + + ci: + name: CI + runs-on: ubuntu-latest + needs: find-verticals + strategy: + matrix: ${{ fromJson(needs.find-verticals.outputs.matrix) }} + + steps: + - uses: actions/checkout@v4 + - name: Install .NET + uses: actions/setup-dotnet@v4 + + - name: Build + working-directory: ${{ matrix.path }} + run: dotnet build + + - name: Test + if: always() + working-directory: ${{ matrix.path }} + run: dotnet test --no-build