ci: update workflow triggers for linting and building to include specific paths (#2162)

* ci: update workflow triggers for linting and building to include specific paths

* ci: rename workflow to clarify purpose as App-Service Build test

* chore(ci): specify the path context when building for appservice

---------

Co-authored-by: dkeven <dkvvven@gmail.com>
This commit is contained in:
eball
2025-12-05 16:32:36 +08:00
committed by GitHub
parent af9e1993d1
commit 0685c4326b
4 changed files with 40 additions and 20 deletions

View File

@@ -1,14 +1,21 @@
name: Build the main branch
name: App-Service Build test
on:
push:
branches:
- "module-appservice"
paths:
- 'framework/app-service/**'
- '!framework/app-service/.olares/**'
- '!framework/app-service/README.md'
- '!framework/app-service/PROJECT'
pull_request:
branches:
- "module-appservice"
defaults:
run:
working-directory: framework/app-service
paths:
- 'framework/app-service/**'
- '!framework/app-service/.olares/**'
- '!framework/app-service/README.md'
- '!framework/app-service/PROJECT'
jobs:
build0-main:
runs-on: ubuntu-latest
@@ -22,3 +29,4 @@ jobs:
with:
go-version: '1.24.6'
- run: make build
working-directory: framework/app-service