Skip to content

Commit 3597d22

Browse files
authored
Merge pull request #20 from pawello2222/dev
Updated github actions
2 parents 31d9541 + 7d1acfa commit 3597d22

File tree

2 files changed

+3
-11
lines changed

2 files changed

+3
-11
lines changed

.github/workflows/ci.yml

+3-9
Original file line numberDiff line numberDiff line change
@@ -16,21 +16,15 @@ jobs:
1616
runs-on: ubuntu-latest
1717
steps:
1818
- name: Checkout
19-
uses: actions/checkout@v3
19+
uses: actions/checkout@v4
2020
- name: SwiftLint
2121
uses: norio-nomura/action-swiftlint@3.2.1
2222

2323
build:
24-
runs-on: macos-13
24+
runs-on: macos-latest
2525
steps:
2626
- name: Checkout
27-
uses: actions/checkout@v3
28-
- name: Install Swift
29-
uses: slashmo/install-swift@v0.4.0
30-
with:
31-
version: swift-5.9-DEVELOPMENT-SNAPSHOT-2023-07-04-a
32-
- run: ls /Applications
33-
- run: sudo xcode-select -s '/Applications/Xcode_15.0.app/Contents/Developer'
27+
uses: actions/checkout@v4
3428
- name: Build
3529
run: |
3630
xcodebuild clean build \

Widgets/AudioPlaybackWidget/Shared/AudioPlaybackWidget+Intents.swift

-2
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,6 @@ struct AudioPlaybackWidgetPlayIntent: AudioPlaybackIntent {
5454
struct AudioPlaybackWidgetPauseIntent: AudioPlaybackIntent {
5555
static var title: LocalizedStringResource = "Pause Music"
5656

57-
init() {}
58-
5957
func perform() async throws -> some IntentResult {
6058
AudioPlayer.shared.pause()
6159
UserDefaults.appGroup.set(

0 commit comments

Comments
 (0)