add step to workflow to test plugin on runner #5
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update Dependency Graph for SBT | |
on: | |
push: | |
branches: | |
- main | |
- test-generate-snapshot | |
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@7ebd561e5280336d3d5b445a59013810ff79325e # v3.0.1 | |
- name: Log snapshot for user validation | |
id: validate | |
run: cat ${{ steps.submit.outputs.snapshot-json-path }} | jq | |
- name: Test dependency submission plugin | |
id: testing | |
run: sbt githubGenerateSnapshot | |
permissions: | |
contents: write |