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
Enterprise-grade ITSM, for every business Icon
Enterprise-grade ITSM, for every business

Give your IT, operations, and business teams the ability to deliver exceptional services—without the complexity.

Freshservice is an intuitive, AI-powered platform that helps IT, operations, and business teams deliver exceptional service without the usual complexity. Automate repetitive tasks, resolve issues faster, and provide seamless support across the organization. From managing incidents and assets to driving smarter decisions, Freshservice makes it easy to stay efficient and scale with confidence.
Try it Free
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