Skip to content

Commit 10d1769

Browse files
authored
Merge pull request #22 from strvcom/feat/multiple-arguments
Feat: Support for multiple arguments (1/3)
2 parents ce894b0 + 00772ee commit 10d1769

31 files changed

Lines changed: 871 additions & 1035 deletions

.github/config/.swiftlint.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
child_config: ../../.swiftlint.yml
2+
3+
disabled_rules:
4+
# E.g:
5+
# - todo
6+
7+
excluded:
8+
# In case you want to exclude folders for the swiftlint running in the CI

.github/workflows/integrations.yml

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
### Integrations workflow ###
22
#
3-
# Runs Danger checks, Swiftlint and tests.
4-
#
5-
# github.token - is automatically assigned to your workflow by Github
3+
# Runs Danger checks and tests.
64
#
7-
# Note: To enable Fastlane tests, make sure that `CommonFastfile` is imported in Fastfile from the shared ios-fastlane repository.
5+
# github.token - is automatically assigned to your workflow by Github
86
#
97

108
name: Integrations
@@ -18,33 +16,34 @@ on:
1816
jobs:
1917
integrations:
2018
# runs-on: macos-latest # use this for repos outside of the STRV Github org
21-
runs-on: [self-hosted, macOS, ios-integrations]
19+
runs-on: [self-hosted, macOS, mobile-ci]
2220
timeout-minutes: 10
2321
steps:
2422

25-
# cancel in-progress integrations - not yet supported by Github Actions out of the box
23+
# cancel in-progress integrations - not yet supported by Github Actions out of the box
2624
- name: Cancel previous runs
2725
uses: styfle/cancel-workflow-action@0.4.1
2826
with:
2927
access_token: ${{ github.token }}
3028

31-
# checkout the project repository
29+
# checkout the project repository
3230
- name: Checkout
3331
uses: actions/checkout@v1
3432

35-
# install dependencies from Gemfile & CocoaPods
36-
- name: Dependencies
37-
run: |
38-
bundle install
33+
# Install Ruby and Danger via Mise
34+
- name: Install Mise
35+
uses: jdx/mise-action@v2
36+
with:
37+
install: true
38+
cache: false
39+
experimental: true
3940

4041
# run Danger
4142
- name: Run Danger
42-
run: bundle exec danger --fail-on-errors=true
43+
run: danger --fail-on-errors=true
4344
env:
4445
GITHUB_TOKEN: ${{ github.token }}
4546

4647
# run tests
4748
- name: Run tests
48-
run: bundle exec fastlane tests
49-
env:
50-
DEVICES: "iPhone 13,iPad Air,Apple TV,My Mac,Apple Watch Series 6"
49+
run: swift test --enable-code-coverage

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,3 +84,6 @@ fastlane/test_output
8484

8585
# Ruby gems
8686
vendor/
87+
88+
# Claude
89+
.claude/settings.local.json

.mise.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[tools]
2+
ruby = "3.3"
3+
"gem:danger" = "8.2"

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,19 @@ __Sections__
1111
- `Removed` for deprecated features removed in this release.
1212
- `Fixed` for any bug fixes.
1313

14+
## [1.0.5]
15+
16+
### Added
17+
18+
- Support for multiple arguments. Code clean up.
19+
- Using parameter packs for multiple arguments
20+
21+
## [1.0.4]
22+
23+
### Fixed
24+
25+
- Async dependency injection fixes
26+
1427
## [1.0.3]
1528

1629
### Fixed

Gemfile

Lines changed: 0 additions & 11 deletions
This file was deleted.

Gemfile.lock

Lines changed: 0 additions & 263 deletions
This file was deleted.

0 commit comments

Comments
 (0)