-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update CI execution environment (#71)
* Update Danger execution environment to macOS13 * Update swift build execution environment to macOS13 * Update xcode build execution environment to macOS13 * Update minimum deployment target to macOS 10.13 * Update Magnet.framework v3.4.0 * Update dependency gems
- Loading branch information
Showing
12 changed files
with
138 additions
and
139 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,65 +1,41 @@ | ||
name: Danger | ||
|
||
on: pull_request | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- master | ||
jobs: | ||
danger: | ||
runs-on: macos-latest | ||
runs-on: macos-13 | ||
# https://github.com/danger/danger/issues/1103 | ||
if: (github.event.pull_request.head.repo.fork == false) | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
fetch-depth: 0 | ||
|
||
- name: Setup ruby | ||
uses: actions/setup-ruby@v1 | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: '2.6' | ||
|
||
- name: Select Xcode | ||
run: sudo xcode-select -s /Applications/Xcode_11.4.app | ||
|
||
- name: Cache RubyGems | ||
uses: actions/cache@v1 | ||
ruby-version: '3.2' | ||
bundler-cache: true | ||
- name: Cache Mint | ||
uses: actions/cache@v3 | ||
with: | ||
path: vendor/bundle | ||
key: ${{ runner.os }}-gem-${{ hashFiles('**/Gemfile.lock') }} | ||
path: .mint | ||
key: ${{ runner.os }}-mint-${{ env.SWIFTLINT_VERSION }} | ||
restore-keys: | | ||
${{ runner.os }}-gem- | ||
- name: Cache Mint Builds | ||
uses: actions/cache@v1 | ||
with: | ||
path: ${{ env.MINT_PATH }} | ||
key: ${{ runner.os }}-mint-build-${{ env.SWIFTLINT_VERSION }} | ||
restore-keys: | | ||
${{ runner.os }}-mint-build- | ||
- name: Cache Mint Links | ||
uses: actions/cache@v1 | ||
with: | ||
path: ${{ env.MINT_LINK_PATH }} | ||
key: ${{ runner.os }}-mint-link-${{ env.SWIFTLINT_VERSION }} | ||
restore-keys: | | ||
${{ runner.os }}-mint-link- | ||
- name: Bundle install | ||
run: | | ||
gem install bundler | ||
bundle config path vendor/bundle | ||
bundle install --jobs 4 --retry 3 | ||
${{ runner.os }}-mint- | ||
- name: Install Mint and Packages | ||
run: | | ||
brew install mint | ||
mint install realm/SwiftLint@${{ env.SWIFTLINT_VERSION }} | ||
- name: Run Danger | ||
run: bundle exec danger | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
env: | ||
MINT_PATH: ${{ github.workspace }}/mint | ||
MINT_LINK_PATH: ${{ github.workspace }}/mint/bin | ||
SWIFTLINT_VERSION: 0.39.1 | ||
MINT_PATH: .mint/lib | ||
MINT_LINK_PATH: .mint/bin | ||
SWIFTLINT_VERSION: 0.53.0 | ||
DEVELOPER_DIR: /Applications/Xcode_15.0.app/Contents/Developer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
github "Clipy/Magnet" "v3.3.0" | ||
github "Clipy/Sauce" "v2.2.0" | ||
github "Clipy/Magnet" "v3.4.0" | ||
github "Clipy/Sauce" "v2.4.0" |
Submodule Magnet
updated
11 files
+6 −6 | .github/workflows/Danger.yml | |
+12 −8 | .github/workflows/Swift-Build.yml | |
+11 −8 | .github/workflows/Xcode-Build.yml | |
+1 −1 | Cartfile.resolved | |
+1 −1 | Carthage/Checkouts/Sauce | |
+2 −2 | Example/Example.xcodeproj/project.pbxproj | |
+82 −66 | Gemfile.lock | |
+4 −2 | Lib/Magnet.xcodeproj/project.pbxproj | |
+1 −1 | Lib/Magnet/Info.plist | |
+3 −3 | Magnet.podspec | |
+2 −2 | Package.swift |
Submodule Sauce
updated
15 files
+6 −6 | .github/workflows/Danger.yml | |
+12 −8 | .github/workflows/Swift-Build.yml | |
+11 −8 | .github/workflows/Xcode-Build.yml | |
+42 −51 | Example/Example.xcodeproj/project.pbxproj | |
+3 −3 | Example/Example/ViewController.swift | |
+79 −53 | Gemfile.lock | |
+5 −3 | Lib/Sauce.xcodeproj/project.pbxproj | |
+10 −14 | Lib/Sauce.xcodeproj/xcshareddata/xcschemes/Sauce.xcscheme | |
+1 −1 | Lib/Sauce/Info.plist | |
+3 −1 | Lib/Sauce/InputSource.swift | |
+1 −1 | Lib/Sauce/KeyboardLayout.swift | |
+14 −3 | Lib/SauceTests/KeyboardLayoutTests.swift | |
+1 −1 | Package.swift | |
+4 −8 | README.md | |
+2 −2 | Sauce.podspec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
github.dismiss_out_of_range_messages | ||
swiftlint.config_file = '.swiftlint.yml' | ||
swiftlint.binary_path = './mint/bin/swiftlint' | ||
swiftlint.binary_path = '.mint/bin/swiftlint' | ||
swiftlint.lint_files(inline_mode: true) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.