Skip to content

beacon-biosignals/julia-project-dependencies

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Determine details about Julia project dependencies

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages