File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Copilot Setup Steps
2
+
3
+ # This workflow pre-installs dependencies for GitHub Copilot coding agent
4
+ # to enable faster and more reliable development in Copilot's ephemeral environment.
5
+ # See: https://docs.github.com/en/copilot/customizing-copilot/customizing-the-development-environment-for-copilot-coding-agent
6
+
7
+ # Automatically run the setup steps when they are changed to allow for easy validation,
8
+ # and allow manual testing through the repository's "Actions" tab
9
+ on :
10
+ push :
11
+ paths :
12
+ - .github/workflows/copilot-setup-steps.yml
13
+ pull_request :
14
+ paths :
15
+ - .github/workflows/copilot-setup-steps.yml
16
+ workflow_dispatch :
17
+
18
+ permissions :
19
+ contents : read
20
+
21
+ jobs :
22
+ # The job MUST be called `copilot-setup-steps` or it will not be picked up by Copilot.
23
+ copilot-setup-steps :
24
+ runs-on : ubuntu-latest
25
+
26
+ steps :
27
+ - name : Checkout code
28
+ uses : actions/checkout@v4
29
+
30
+ - name : Set up JDK for running Gradle
31
+ uses : actions/setup-java@v4
32
+ with :
33
+ distribution : temurin
34
+ java-version : 17
35
+
36
+ - name : Setup Gradle
37
+ uses : gradle/actions/setup-gradle@v4
38
+
39
+ - name : Populate Gradle caches
40
+ run : ./gradlew classes testClasses assemble spotlessApply
You can’t perform that action at this time.
0 commit comments