Skip to content

Commit 2d183c3

Browse files
committed
Add copilot coding agent setup steps
1 parent e77eb03 commit 2d183c3

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Custom setup steps for GitHub Copilot coding agent to speed up Copilot's work on coding tasks
2+
name: "Copilot Setup Steps"
3+
4+
on:
5+
pull_request:
6+
paths:
7+
- .github/workflows/copilot-setup-steps.yml
8+
push:
9+
paths:
10+
- .github/workflows/copilot-setup-steps.yml
11+
workflow_dispatch:
12+
13+
permissions:
14+
contents: read
15+
16+
jobs:
17+
copilot-setup-steps: # Job name required by GitHub Copilot coding agent
18+
runs-on: ubuntu-latest
19+
20+
steps:
21+
- name: Checkout code
22+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
23+
24+
- name: Set up JDK for running Gradle
25+
uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
26+
with:
27+
distribution: temurin
28+
java-version: 17
29+
30+
- name: Set up gradle
31+
uses: gradle/actions/setup-gradle@017a9effdb900e5b5b2fddfb590a105619dca3c3 # v4.4.2
32+
33+
- name: Build project and download dependencies
34+
run: ./gradlew build -x test

0 commit comments

Comments
 (0)