Skip to content

Commit 84fd378

Browse files
committed
using self hosted runner
1 parent 02c463e commit 84fd378

File tree

4 files changed

+22
-20
lines changed

4 files changed

+22
-20
lines changed

.github/workflows/CI-bump-build-number.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
jobs:
55
upadate-build-number:
66
name: Update Build Number
7-
runs-on: macos-12
7+
runs-on: [self-hosted, macOS]
88
steps:
99
- name: Checkout repository
1010
uses: actions/checkout@v2

.github/workflows/lint.yml

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,24 @@ on:
66

77
jobs:
88
SwiftLint:
9-
runs-on: ubuntu-latest
9+
runs-on: [self-hosted, macOS] # ubuntu-latest
1010
steps:
1111
- uses: actions/checkout@v1
12-
- name: Remove TODOs
13-
run: exec ./.github/scripts/remove_todos.sh
1412
- name: GitHub Action for SwiftLint
15-
uses: norio-nomura/action-swiftlint@3.2.1
16-
- name: GitHub Action for SwiftLint with --strict
17-
uses: norio-nomura/action-swiftlint@3.2.1
18-
with:
19-
args: --strict
20-
- name: GitHub Action for SwiftLint (Only files changed in the PR)
21-
uses: norio-nomura/action-swiftlint@3.2.1
22-
env:
23-
DIFF_BASE: ${{ github.base_ref }}
24-
- name: GitHub Action for SwiftLint (Different working directory)
25-
uses: norio-nomura/action-swiftlint@3.2.1
26-
env:
27-
WORKING_DIRECTORY: Source
13+
run: swiftlint --strict
14+
# - name: Remove TODOs
15+
# run: exec ./.github/scripts/remove_todos.sh
16+
# - name: GitHub Action for SwiftLint
17+
# uses: norio-nomura/action-swiftlint@3.2.1
18+
# - name: GitHub Action for SwiftLint with --strict
19+
# uses: norio-nomura/action-swiftlint@3.2.1
20+
# with:
21+
# args: --strict
22+
# - name: GitHub Action for SwiftLint (Only files changed in the PR)
23+
# uses: norio-nomura/action-swiftlint@3.2.1
24+
# env:
25+
# DIFF_BASE: ${{ github.base_ref }}
26+
# - name: GitHub Action for SwiftLint (Different working directory)
27+
# uses: norio-nomura/action-swiftlint@3.2.1
28+
# env:
29+
# WORKING_DIRECTORY: Source

.github/workflows/pre-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
jobs:
88
pre-release:
99
name: Build and Publish Pre-release
10-
runs-on: macos-12
10+
runs-on: [self-hosted, macOS]
1111
steps:
1212
- name: Checkout repository
1313
uses: actions/checkout@v2

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ on:
55
jobs:
66
test:
77
name: Testing CodeEdit
8-
runs-on: macos-12 #[self-hosted, macOS]
8+
runs-on: [self-hosted, macOS]
99
steps:
1010
- name: Checkout repository
1111
uses: actions/checkout@v1
1212
- name: Testing App
13-
run: exec ./.github/scripts/test_app.sh
13+
run: exec ./.github/scripts/test_app.sh arm

0 commit comments

Comments
 (0)