File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change 1+ name : presubmit
2+
3+ on :
4+ pull_request :
5+ push :
6+ branches :
7+ - main
8+ workflow_dispatch :
9+
10+ permissions :
11+ contents : read
12+
13+ jobs :
14+ build-and-test :
15+ runs-on : ubuntu-latest
16+ steps :
17+ - name : Checkout code
18+ uses : actions/checkout@v4 # Use the latest stable version of actions/checkout
19+
20+ - name : Set up JDK
21+ uses : actions/setup-java@v4 # https://github.com/marketplace/actions/setup-java-jdk
22+ with :
23+ distribution : ' temurin' # Recommended distribution
24+ java-version : ' 21' # Match version in build.gradle.kts
25+ cache : ' gradle' # Cache Gradle dependencies
26+
27+ - name : Build Plugin
28+ run : ./gradlew buildPlugin
29+ working-directory : third_party
30+
31+ - name : Verify Plugin
32+ run : ./gradlew verifyPlugin && ./gradlew verifyPluginProjectConfiguration && ./gradlew verifyPluginSignature && ./gradlew verifyPluginStructure
33+ working-directory : third_party
You can’t perform that action at this time.
0 commit comments