Skip to content

Julia Project Dependencies

Actions
Wait for a specific GitHub Actions workflow job to complete. Can be useful for synchronization between separate workflows
v1.0.0
Latest
Star (0)

Tags

 (1)

Julia Project Dependencies

Examines a Julia project returns details about the dependencies. Primarily this action is used to detect and alert developer about the use of unpublished dependencies.

Example

---
jobs:
  example:
    permissions: {}
    runs-on: ubuntu-latest
    steps:
      - uses: julia-actions/setup-julia
        with:
          version: "1.10"
      - uses: beacon-biosignals/julia-project-dependencies@v1
        id: deps
      - name: Fail if unpublished dependencies
        if: ${{ steps.deps.outputs.num-unpublished-dependencies > 0 }}
        run: |
          echo "All Julia dependencies must reference published packages before proceeding" >&2
          exit 1

Inputs

Name Description Required Example
project The Julia project directory. Defaults to . No ./Package.jl

Outputs

Name Description Example
direct-dependencies List of newline separated Julia package names which this project defines under the deps section of the Project.toml.
Example
Pkg
num-direct-dependencies Number of Julia packages listed under the deps section of the Project.toml. 2
unpublished-dependencies List of newline separated Julia package names used by this project which are not published.
Example
num-unpublished-dependencies Number of Julia packages used by this project which are not published. 1

Permissions

No job permissions are required to run this action.

Julia Project Dependencies is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Wait for a specific GitHub Actions workflow job to complete. Can be useful for synchronization between separate workflows
v1.0.0
Latest

Tags

 (1)

Julia Project Dependencies is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.