Skip to content

Commit f9b1905

Browse files
authored
Merge pull request #35 from roanutil/feature/update-file-header
Feature/update file header
2 parents d4beb12 + b97d2dd commit f9b1905

78 files changed

Lines changed: 163 additions & 316 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,26 +11,25 @@ on:
1111

1212
jobs:
1313
lint:
14-
runs-on: macos-13
14+
runs-on: macos-latest
1515
environment: default
1616
steps:
1717
- uses: actions/checkout@v4
18+
- name: SwiftFormat version
19+
run: swiftformat --version
1820
- name: Format lint
1921
run: swiftformat --lint .
22+
- name: Install SwiftLint
23+
run: brew install swiftlint
24+
- name: SwiftLint version
25+
run: swiftlint --version
2026
- name: Lint
21-
run: swiftlint .
27+
run: swiftlint lint --quiet
2228
test:
29+
runs-on: macos-latest
2330
environment: default
24-
strategy:
25-
matrix:
26-
include:
27-
- os: macos-14
28-
xcode: "15.3" # Swift 5.10
29-
runs-on: ${{ matrix.os }}
3031
steps:
3132
- uses: actions/checkout@v4
32-
- name: Select Xcode ${{ matrix.xcode }}
33-
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app
3433
- name: Run Tests
3534
run: swift test --enable-code-coverage
3635
- name: Swift Coverage Report

.swiftformat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
--redundanttype explicit
33
--swiftversion 5.8
44
--maxwidth 120
5-
--header "{file}\nCoreDataRepository\n\n\nMIT License\n\nCopyright © {year} Andrew Roan"
5+
--header "{file}\nCoreDataRepository\n\nThis source code is licensed under the MIT License (MIT) found in the\nLICENSE file in the root directory of this source tree."
66
--allman false
77
--wraparguments before-first
8-
--wrapcollections before-first
8+
--wrapcollections before-first

Benchmarks/coredata-repository-benchmarks/coredata-repository-benchmarks.swift

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
// coredata-repository-benchmarks.swift
22
// CoreDataRepository
33
//
4-
//
5-
// MIT License
6-
//
7-
// Copyright © 2024 Andrew Roan
4+
// This source code is licensed under the MIT License (MIT) found in the
5+
// LICENSE file in the root directory of this source tree.
86

97
// swiftlint:disable file_length
108

Examples/Relationships/RelationshipsExample/RelationshipsExample/CoreDataStack.swift

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
// CoreDataStack.swift
22
// CoreDataRepository
33
//
4-
//
5-
// MIT License
6-
//
7-
// Copyright © 2024 Andrew Roan
4+
// This source code is licensed under the MIT License (MIT) found in the
5+
// LICENSE file in the root directory of this source tree.
86

97
import CoreData
108
import Foundation

Examples/Relationships/RelationshipsExample/RelationshipsExample/Document.swift

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
// Document.swift
22
// CoreDataRepository
33
//
4-
//
5-
// MIT License
6-
//
7-
// Copyright © 2024 Andrew Roan
4+
// This source code is licensed under the MIT License (MIT) found in the
5+
// LICENSE file in the root directory of this source tree.
86

97
import CoreData
108
import CoreDataRepository

Examples/Relationships/RelationshipsExample/RelationshipsExample/FileCabinet+Drawer.swift

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
// FileCabinet+Drawer.swift
22
// CoreDataRepository
33
//
4-
//
5-
// MIT License
6-
//
7-
// Copyright © 2024 Andrew Roan
4+
// This source code is licensed under the MIT License (MIT) found in the
5+
// LICENSE file in the root directory of this source tree.
86

97
import CoreData
108
import CoreDataRepository

Examples/Relationships/RelationshipsExample/RelationshipsExample/FileCabinet.swift

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
// FileCabinet.swift
22
// CoreDataRepository
33
//
4-
//
5-
// MIT License
6-
//
7-
// Copyright © 2024 Andrew Roan
4+
// This source code is licensed under the MIT License (MIT) found in the
5+
// LICENSE file in the root directory of this source tree.
86

97
import CoreData
108
import CoreDataRepository

Examples/Relationships/RelationshipsExample/RelationshipsExample/FileCabinetDetailView.swift

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
// FileCabinetDetailView.swift
22
// CoreDataRepository
33
//
4-
//
5-
// MIT License
6-
//
7-
// Copyright © 2024 Andrew Roan
4+
// This source code is licensed under the MIT License (MIT) found in the
5+
// LICENSE file in the root directory of this source tree.
86

97
import CoreData
108
import CoreDataRepository

Examples/Relationships/RelationshipsExample/RelationshipsExample/FileCabinetsView.swift

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
// FileCabinetsView.swift
22
// CoreDataRepository
33
//
4-
//
5-
// MIT License
6-
//
7-
// Copyright © 2024 Andrew Roan
4+
// This source code is licensed under the MIT License (MIT) found in the
5+
// LICENSE file in the root directory of this source tree.
86

97
import CoreData
108
import CoreDataRepository

Examples/Relationships/RelationshipsExample/RelationshipsExample/RelationshipsExampleApp.swift

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
// RelationshipsExampleApp.swift
22
// CoreDataRepository
33
//
4-
//
5-
// MIT License
6-
//
7-
// Copyright © 2024 Andrew Roan
4+
// This source code is licensed under the MIT License (MIT) found in the
5+
// LICENSE file in the root directory of this source tree.
86

97
import CoreDataRepository
108
import SwiftUI

0 commit comments

Comments
 (0)