{"repo":"MarcoEidinger/swift-package-dependencies-check","free":true,"listed":false,"github":"https://github.com/MarcoEidinger/swift-package-dependencies-check","clone":"git clone https://github.com/MarcoEidinger/swift-package-dependencies-check.git","description":"Catch up with outdated versions based on your package dependency requirements","language":"Shell","stars":88,"topics":["swift","spm","github-actions","dependency-management"],"license":null,"category":"workflow-automation","readme_excerpt":"Swift Package Dependencies Checker This action process your Package.swift file to detect outdated versions based on your package dependency requirements. This action requires actions/checkout in order to function correctly. Action will fail in case there are outdated dependencies. This can be suppressed by setting input parameter failWhenOutdated to false. Then use output parameter outdatedDependencies to know if 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. When setting isMutating the tool SwiftPackageIndex/ReleaseNotes is used to return release notes URLs for detected, necessary updates. 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. A possible workflow to periodically check for outdated dependencies and then create a pull request to update them: For your convenience I created a workflow which can reuse like this. Internally the action utilizes swift package show-dependencies and swift package update (either with or without the --dry-run option). Per default it runs as non-modifying, i.e. with --dry-run . You can also pin to a specific release version in the format @2.x.x - Version 2.7.x is using Swift 6.1 - Version 2.6.x is using Swift 6.","default_branch":null,"files":null,"tree":[],"storefront":"/r/MarcoEidinger","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/MarcoEidinger/swift-package-dependencies-check/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}