Skip to content

Commit 33fa804

Browse files
authored
Merge pull request #24 from roanutil/3.0-preview-update-workflow
3.0 preview update workflow
2 parents 8b3f49e + dac025e commit 33fa804

3 files changed

Lines changed: 35 additions & 7 deletions

File tree

.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: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: macos-13
1515
environment: default
1616
steps:
17-
- uses: actions/checkout@v3
17+
- uses: actions/checkout@v4
1818
- name: Format lint
1919
run: swiftformat --lint .
2020
- name: Lint
@@ -25,12 +25,12 @@ jobs:
2525
matrix:
2626
include:
2727
- os: macos-13
28-
xcode: 14.3 # Swift 5.8
28+
xcode: 14.3.1 # Swift 5.8.1
2929
- os: macos-13
30-
xcode: '15.0' # Swift 5.9
30+
xcode: '15.2' # Swift 5.9.2
3131
runs-on: ${{ matrix.os }}
3232
steps:
33-
- uses: actions/checkout@v3
33+
- uses: actions/checkout@v4
3434
- name: Select Xcode ${{ matrix.xcode }}
3535
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app
3636
- name: Run Tests
@@ -39,4 +39,5 @@ jobs:
3939
run: xcrun llvm-cov export -format="lcov" .build/debug/CoreDataRepositoryPackageTests.xctest/Contents/MacOS/CoreDataRepositoryPackageTests -instr-profile .build/debug/codecov/default.profdata > coverage_report.lcov
4040
- uses: codecov/codecov-action@v3
4141
with:
42+
token: ${{ secrets.CODECOV_TOKEN }}
4243
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

0 commit comments

Comments
 (0)