Skip to content

Commit d7b90d1

Browse files
authored
Merge pull request #42 from roanutil/3.0-preview
v3.0
2 parents c77247f + 90b2c31 commit d7b90d1

File tree

122 files changed

+14433
-2566
lines changed

Some content is hidden

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

122 files changed

+14433
-2566
lines changed

.benchmarkBaselines/coredata-repository-benchmarks/main/results.json

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

.benchmarkBaselines/coredata-repository-benchmarks/v3/results.json

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

.benchmarkBaselines/coredata-repository-benchmarks/v4/results.json

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

.github/dependabot.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,5 @@ updates:
33
- package-ecosystem: "swift"
44
directory: "/"
55
schedule:
6-
interval: "weekly"
7-
reviewers:
8-
- "roanutil"
6+
interval: "daily"
97
versioning-strategy: "increase-if-necessary"

.github/workflows/ci.yml

Lines changed: 14 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -6,41 +6,35 @@ on:
66
- main
77
pull_request:
88
branches:
9-
- '*'
9+
- "*"
1010
workflow_dispatch:
1111

1212
jobs:
1313
lint:
14-
runs-on: macos-13
14+
runs-on: macos-latest
1515
environment: default
1616
steps:
17-
- uses: actions/checkout@v3
17+
- 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-26
2330
environment: default
24-
strategy:
25-
matrix:
26-
include:
27-
- os: macos-12
28-
xcode: 13.2.1 # Swift 5.5.2
29-
- os: macos-12
30-
xcode: 13.4.1 # Swift 5.6
31-
- os: macos-13
32-
xcode: 14.2 # Swift 5.7
33-
- os: macos-13
34-
xcode: 14.3 # Swift 5.8
35-
runs-on: ${{ matrix.os }}
3631
steps:
37-
- uses: actions/checkout@v3
38-
- name: Select Xcode ${{ matrix.xcode }}
39-
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app
32+
- uses: actions/checkout@v4
4033
- name: Run Tests
4134
run: swift test --enable-code-coverage
4235
- name: Swift Coverage Report
4336
run: xcrun llvm-cov export -format="lcov" .build/debug/CoreDataRepositoryPackageTests.xctest/Contents/MacOS/CoreDataRepositoryPackageTests -instr-profile .build/debug/codecov/default.profdata > coverage_report.lcov
44-
- uses: codecov/codecov-action@v3
37+
- uses: codecov/codecov-action@v4
4538
with:
39+
token: ${{ secrets.CODECOV_TOKEN }}
4640
fail_ci_if_error: true # optional (default = false)

.github/workflows/codeql.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: "CodeQL"
2+
3+
on:
4+
push:
5+
branches: [ "main", "3.0-preview" ]
6+
pull_request:
7+
branches: [ "main", "3.0-preview" ]
8+
9+
jobs:
10+
run-codeql-linux:
11+
name: Run CodeQL on macOS
12+
runs-on: macos-latest
13+
permissions:
14+
security-events: write
15+
16+
steps:
17+
- name: Checkout repository
18+
uses: actions/checkout@v4
19+
20+
- name: Initialize CodeQL
21+
uses: github/codeql-action/init@v2
22+
with:
23+
languages: swift
24+
25+
- name: Build
26+
run: swift build
27+
28+
- name: Perform CodeQL Analysis
29+
uses: github/codeql-action/analyze@v2

.swiftformat

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
--extensionacl on-declarations
22
--redundanttype explicit
3-
--swiftversion 5.5
3+
--swiftversion 5.10
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

0 commit comments

Comments
 (0)