Skip to content

Merge pull request #174 from guardian/sbt-dependency-graph-f558a69d3a… #2

Merge pull request #174 from guardian/sbt-dependency-graph-f558a69d3a…

Merge pull request #174 from guardian/sbt-dependency-graph-f558a69d3a… #2

name: Update Dependency Graph for sbt
on:
push:
branches:
- main
workflow_dispatch:
jobs:
dependency-graph:
runs-on: ubuntu-latest
steps:
- name: Checkout branch
id: checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- 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