Skip to content

Merge pull request #743 from guardian/dependabot/github_actions/all-5… #9

Merge pull request #743 from guardian/dependabot/github_actions/all-5…

Merge pull request #743 from guardian/dependabot/github_actions/all-5… #9

name: Update Dependency Graph for sbt
on:
push:
branches:
- main
- sbt-dependency-graph-7ab016c6182142d0
workflow_dispatch:
jobs:
dependency-graph:
runs-on: ubuntu-latest
steps:
- name: Checkout branch
id: checkout
uses: actions/checkout@cbb722410c2e876e24abbe8de2cc27693e501dcb # v4.2.1
# See https://github.com/guardian/setup-java
- name: Setup Java and sbt
uses: guardian/setup-scala@v1
- 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