This action process your Package.swift file to detect outdated versions based on your package dependency requirements. Action will fail in case there are outdated dependencies. This can be suppressed by setting the input parameter failWhenOutdated to false. Then use the output parameter outdatedDependencies to know if the action detected any outdated dependencies. By setting isMutating you declare the intention to update Package.resolved (if present). Please note that the action itself does not commit/push changes. The GitHub action is looking in the current directory (.) for the package manifest but you can pass a different path with input parameter directory. Helpful for Monorepos where the Package.swift may not be at the root of the project. When setting isMutating the tool SwiftPackageIndex/ReleaseNotes is used to return release notes URLs for detected, necessary updates.

Features

  • A possible workflow to periodically check for outdated dependencies
  • Internally the action utilizes swift package show-dependencies
  • You can also pin to a specific release version in the format
  • This action requires actions/checkout in order to function correctly
  • Action will fail in case there are outdated dependencies
  • By setting isMutating you declare the intention to update Package.resolved

Project Samples

Project Activity

See All Activity >

Follow Swift Package Dependencies Checker

Swift Package Dependencies Checker Web Site

Other Useful Business Software
Build Securely on Azure with Proven Frameworks Icon
Build Securely on Azure with Proven Frameworks

Lay a foundation for success with Tested Reference Architectures developed by Fortinet’s experts. Learn more in this white paper.

Moving to the cloud brings new challenges. How can you manage a larger attack surface while ensuring great network performance? Turn to Fortinet’s Tested Reference Architectures, blueprints for designing and securing cloud environments built by cybersecurity experts. Learn more and explore use cases in this white paper.
Download Now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Swift Package Dependencies Checker!

Additional Project Details

Programming Language

Unix Shell

Related Categories

Unix Shell Software Development Software

Registered

2022-08-24