From 9f3634471f71c65809949e21659713a086e8e84a Mon Sep 17 00:00:00 2001 From: "gu-dependency-graph-integrator[bot]" <156913822+gu-dependency-graph-integrator[bot]@users.noreply.github.com> Date: Fri, 15 Nov 2024 09:30:53 +0000 Subject: [PATCH] Add sbt-dependency-graph.yaml --- .github/workflows/sbt-dependency-graph.yaml | 31 +++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/sbt-dependency-graph.yaml diff --git a/.github/workflows/sbt-dependency-graph.yaml b/.github/workflows/sbt-dependency-graph.yaml new file mode 100644 index 00000000..2fe05939 --- /dev/null +++ b/.github/workflows/sbt-dependency-graph.yaml @@ -0,0 +1,31 @@ +name: Update Dependency Graph for sbt +on: + push: + branches: + - main + - sbt-dependency-graph-dfe6e8120082f77f + workflow_dispatch: +jobs: + dependency-graph: + runs-on: ubuntu-latest + steps: + - name: Checkout branch + id: checkout + uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 + - name: Install Java + id: java + uses: actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73 # v4.2.0 + with: + distribution: corretto + java-version: 17 + - name: Install sbt + id: sbt + uses: sbt/setup-sbt@8a071aa780c993c7a204c785d04d3e8eb64ef272 # v1.1.0 + - name: Submit dependencies + id: submit + uses: scalacenter/sbt-dependency-submission@64084844d2b0a9b6c3765f33acde2fbe3f5ae7d3 # v3.1.0 + - name: Log snapshot for user validation + id: validate + run: cat ${{ steps.submit.outputs.snapshot-json-path }} | jq + permissions: + contents: write