Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Cocoapods + bundle #143

Merged
merged 19 commits into from
Oct 30, 2024
Merged

Update Cocoapods + bundle #143

merged 19 commits into from
Oct 30, 2024

Conversation

dfed
Copy link
Collaborator

@dfed dfed commented Oct 30, 2024

We have a dependabot alert. This fixes it.

Looks like the old SnapshotTesting pod was not compatible with the latest Cocoapods, so I had to move to SPM in the example project.

@dfed dfed requested a review from NickEntin October 30, 2024 08:14
@dfed dfed self-assigned this Oct 30, 2024
@dfed dfed enabled auto-merge October 30, 2024 08:16
@@ -18,15 +18,13 @@ jobs:
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.3.4'
ruby-version: '3.3.5'
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ended up bumping this while I was here

.github/workflows/ci.yml Outdated Show resolved Hide resolved
Comment on lines 218 to 219
@unknown default:
false
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I really don't know why this was necessary. builds locally without it. But in pod lib lint I get the following error without:

    /Users/dfed/source/Paralayout/ParalayoutTests/ViewDistributionBuilderTests.swift:206:9: error: switch covers known cases, but '(ViewDistributionItem, ViewDistributionItem)' may have additional unknown values
            switch (lhs, rhs) {
            ^
    /Users/dfed/source/Paralayout/ParalayoutTests/ViewDistributionBuilderTests.swift:206:9: note: add missing cases
            switch (lhs, rhs) {
            ^

@dfed
Copy link
Collaborator Author

dfed commented Oct 30, 2024

This is now passing CI!

Comment on lines -11 to -14

s.test_spec 'Tests' do |test_spec|
test_spec.source_files = 'ParalayoutTests/*{.swift}'
end
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I ended up removing this after all in 6602c13 so that we wouldn't have to support Cocoapod's construction of unit test targets. IMO we don't gain anything from having this here given that we have other CI runs executing the test suite.

@dfed dfed disabled auto-merge October 30, 2024 18:27
@dfed dfed enabled auto-merge October 30, 2024 18:55
@dfed dfed merged commit 934efe7 into master Oct 30, 2024
6 checks passed
@dfed dfed deleted the dfed--dependabot branch October 30, 2024 19:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants