Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 803 Bytes

README.md

File metadata and controls

36 lines (25 loc) · 803 Bytes

Depends docker action

This action executes depends analysis.

Inputs

args

Required The CLI args corresponding to the language and the source folder, defaults are java and src.

Outputs

depends.json

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.

Example usage

.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