Skip to content

Commit

Permalink
Merge pull request #487 from nimblehq/release/4.6.0
Browse files Browse the repository at this point in the history
Release - 4.6.0
  • Loading branch information
blyscuit authored Jul 3, 2023
2 parents d581dcc + 51f083c commit 8336744
Show file tree
Hide file tree
Showing 12 changed files with 66 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .arkana.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
package_manager: cocoapods
environments:
- Staging
- Release
global_secrets:
environment_secrets:
Empty file added .env.example
Empty file.
12 changes: 11 additions & 1 deletion .github/workflows/automatic_pull_request_review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ concurrency:
jobs:
review_pull_request:
name: Pull request review by Danger
runs-on: macOS-12
runs-on: macOS-latest
steps:
- uses: actions/checkout@v3
with:
Expand All @@ -25,8 +25,18 @@ jobs:
restore-keys: |
${{ runner.os }}-gems-
- name: Setup ENV file
env:
ENV: ${{ secrets.ENV }}
run: |
touch .env
echo $ENV | base64 --decode > .env
- name: Bundle install
run: bundle install --path vendor/bundle

- name: Run Arkana
run: bundle exec arkana

- name: Cache Pods
uses: actions/cache@v3
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/deploy_app_store.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,18 @@ jobs:
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}

- name: Setup ENV file
env:
ENV: ${{ secrets.ENV }}
run: |
touch .env
echo $ENV | base64 --decode > .env
- name: Bundle install
run: bundle install

- name: Run Arkana
run: bundle exec arkana

- name: Cache Pods
uses: actions/cache@v3
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/deploy_production_firebase.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,18 @@ jobs:
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}

- name: Setup ENV file
env:
ENV: ${{ secrets.ENV }}
run: |
touch .env
echo $ENV | base64 --decode > .env
- name: Bundle install
run: bundle install

- name: Run Arkana
run: bundle exec arkana

- name: Cache Pods
uses: actions/cache@v3
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/deploy_staging_firebase.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,19 @@ jobs:
yarn global add firebase-tools
echo "$(yarn global bin)" >> $GITHUB_PATH
- name: Setup ENV file
env:
ENV: ${{ secrets.ENV }}
run: |
touch .env
echo $ENV | base64 --decode > .env
- name: Bundle install
# if: steps.bundleCache.outputs.cache-hit != 'true'
run: bundle install

- name: Run Arkana
run: bundle exec arkana

- name: Cache Pods
uses: actions/cache@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_install_script.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ concurrency:
jobs:
Test:
name: Test
runs-on: macOS-12
runs-on: macOS-latest
steps:
- uses: actions/checkout@v3
with:
Expand Down
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,9 @@ Output
# JetBrains IDEs

.idea

# Arkana
dependencies/

# Environment
.env
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
source "https://rubygems.org"

gem 'arkana'
gem "cocoapods"
gem "fastlane"
gem "xcov"
Expand Down
2 changes: 2 additions & 0 deletions Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ target '{PROJECT_NAME}' do
pod 'SwiftLint'
pod 'Wormholy', :configurations => ['Debug Staging', 'Debug Production']
pod 'xcbeautify'
pod "ArkanaKeys", path: "./ArkanaKeys/ArkanaKeys"
pod "ArkanaKeysInterfaces", path: "./ArkanaKeys/ArkanaKeysInterfaces"

target '{PROJECT_NAME}Tests' do
inherit! :search_paths
Expand Down
7 changes: 7 additions & 0 deletions make.sh
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,9 @@ rename_folder "${CONSTANT_PROJECT_NAME}KIFUITests" "${PROJECT_NAME_NO_SPACES}KIF
# Rename app folder structure
rename_folder "${CONSTANT_PROJECT_NAME}" "${PROJECT_NAME_NO_SPACES}"

# Duplicate the env example file and rename it to env file
cp "./.env.example" "./.env"

# Add AutoMockable.generated.swift file
mkdir -p "${PROJECT_NAME_NO_SPACES}Tests/Sources/Mocks/Sourcery"
touch "${PROJECT_NAME_NO_SPACES}Tests/Sources/Mocks/Sourcery/AutoMockable.generated.swift"
Expand Down Expand Up @@ -167,6 +170,10 @@ echo "✅ Completed"
# Install dependencies
echo "Installing gems"
bundle install

echo "Run Arkana"
bundle exec arkana

echo "Installing pod dependencies"
bundle exec pod install --repo-update
echo "✅ Completed"
Expand Down
2 changes: 2 additions & 0 deletions {PROJECT_NAME}/Sources/Constants/Constants+API.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@
// Constants+API.swift
//

import ArkanaKeys

extension Constants.API {}

0 comments on commit 8336744

Please sign in to comment.