This action executes depends analysis.
Required The CLI args corresponding to the language and the source folder, defaults are java and src.
The result of the depends analysis in JSON format as a file in the root folder of the runner. This file can be uploaded as an artifact in the same workflow or can be used as is in the same job context.
.github/workflows/main.yml
on: [push]
jobs:
depends_job:
runs-on: ubuntu-latest
name: Depends analysis
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Execute depends.
id: depends
uses: hdmsantander/depends-docker-action@1.0
with:
args: ${{ env.workspace }} java src