Skip to content

Commit 51918b3

Browse files
coopernetesclaude
andcommitted
ci: add Gradle dependency submission to build-and-test job
Closes #7 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent ce53678 commit 51918b3

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ on:
1111
jobs:
1212
build-and-test:
1313
runs-on: ubuntu-latest
14+
permissions:
15+
contents: write
1416

1517
steps:
1618
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # ratchet:actions/checkout@v6
@@ -24,6 +26,10 @@ jobs:
2426
- name: Build and test
2527
run: ./gradlew build
2628

29+
- name: Submit dependency graph
30+
if: github.event_name == 'push'
31+
uses: gradle/actions/dependency-submission@48b5f213c81028ace310571dc5ec0fbbca0b2947 # ratchet:gradle/actions/dependency-submission@v4
32+
2733
- name: Publish test results
2834
if: always()
2935
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # ratchet:actions/upload-artifact@v7

0 commit comments

Comments
 (0)