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
Full-stack observability with actually useful AI | Grafana Cloud Icon
Full-stack observability with actually useful AI | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
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