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 the Snapshot Tests #9

Merged
merged 2 commits into from
Jul 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,18 @@ jobs:
DIFF_BASE: ${{ github.base_ref }}
Latest:
name: Test Latest (iOS, macOS, tvOS, watchOS)
runs-on: macOS-12
runs-on: macOS-13
env:
DEVELOPER_DIR: "/Applications/Xcode_14.1.app/Contents/Developer"
DEVELOPER_DIR: "/Applications/Xcode_15.1.app/Contents/Developer"
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
include:
- destination: "OS=16.1,name=iPhone 14 Pro"
- destination: "OS=17.0,name=iPhone 14 Pro"
name: "iOS"
sdk: iphonesimulator
- destination: "OS=16.1,name=Apple TV"
- destination: "OS=17.2,name=Apple TV"
name: "tvOS"
sdk: appletvsimulator
- destination: "OS=9.1,name=Apple Watch Series 8 (45mm)"
Expand All @@ -59,11 +59,11 @@ jobs:

discover-typos:
name: Discover Typos
runs-on: macOS-12
runs-on: macOS-13
env:
DEVELOPER_DIR: /Applications/Xcode_14.1.app/Contents/Developer
DEVELOPER_DIR: /Applications/Xcode_15.2.app/Contents/Developer
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Discover typos
run: |
export PATH="$PATH:/Library/Frameworks/Python.framework/Versions/3.11/bin"
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ Released on 2024-07-19.
#### Updated
- Update the masking logic
- Updated in Pull Request [#7](https://github.com/space-code/skeleton-ui/pull/7).
- Update the snapshot tests
- Updated in Pull Request [#8](https://github.com/space-code/skeleton-ui/pull/8).

## [1.0.1](https://github.com/space-code/skeleton-ui/releases/tag/1.0.1)
Released on 2024-01-14.
Expand Down
6 changes: 3 additions & 3 deletions Sources/SkeletonUI/Classes/Core/SkeletonConstants.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ public enum SkeletonConstants {
/// Default gradient for the skeleton view.
public static let gradient: Gradient = .init(
stops: [
.init(color: .black.opacity(.opacity), location: 0.8),
.init(color: .black, location: 0.9),
.init(color: .black.opacity(.opacity), location: 1.0),
.init(color: .gray.opacity(.opacity), location: 0.8),
.init(color: .gray, location: 0.9),
.init(color: .gray.opacity(.opacity), location: 1.0),
]
)
}
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading