Project file removal (#569)

* Deleted project file

* Add back SPM Package.resolved + .gitignore

* Generate project file on release builds

* Converge on single CI setup scripts within `ci_scripts/ci_common.sh`

* Fix unit tests

* Use new `ci_common/setup_github_actions_environment` setup script on all workflows

* Move lfs validation check to the pre-commit hooks. Remove validate-lfs github actions workflow

* Fix integration tests workflow

* Tweaks following code review
This commit is contained in:
Stefan Ceriu
2023-02-13 14:53:01 +02:00
committed by GitHub
parent ee4e4a212b
commit 7ab64d4cb4
24 changed files with 69 additions and 5063 deletions
+3 -8
View File
@@ -19,10 +19,6 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Brew bundle
run:
brew update && brew bundle && brew upgrade swiftformat
- uses: actions/cache@v3
with:
path: vendor/bundle
@@ -30,10 +26,9 @@ jobs:
restore-keys: |
${{ runner.os }}-gems-
- name: Bundle install
run: |
bundle config path vendor/bundle
bundle install --jobs 4 --retry 3
- name: Setup environment
run:
source ci_scripts/ci_common.sh && setup_github_actions_environment
- name: Run tests
run: bundle exec fastlane integration_tests
+3 -13
View File
@@ -21,27 +21,17 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Cache Ruby gems
uses: actions/cache@v3
- uses: actions/cache@v3
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-gems-
- name: Brew bundle
- name: Setup environment
run:
brew bundle
source ci_scripts/ci_common.sh && setup_github_actions_environment
- name: SwiftFormat
run:
swiftformat --lint .
- name: Bundle install
run: |
bundle config path vendor/bundle
bundle install --jobs 4 --retry 3
- name: Import signing certificate
uses: apple-actions/import-codesign-certs@v1
with:
+3 -8
View File
@@ -22,10 +22,6 @@ jobs:
with:
lfs: true
- name: Brew bundle
run:
brew update && brew bundle && brew upgrade swiftformat
- uses: actions/cache@v3
with:
path: vendor/bundle
@@ -33,10 +29,9 @@ jobs:
restore-keys: |
${{ runner.os }}-gems-
- name: Bundle install
run: |
bundle config path vendor/bundle
bundle install --jobs 4 --retry 3
- name: Setup environment
run:
source ci_scripts/ci_common.sh && setup_github_actions_environment
- name: Run tests
run: bundle exec fastlane ui_tests
+7 -12
View File
@@ -24,14 +24,6 @@ jobs:
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Brew bundle
run:
brew update && brew bundle && brew upgrade swiftformat
- name: SwiftFormat
run:
swiftformat --lint .
- uses: actions/cache@v3
with:
path: vendor/bundle
@@ -39,11 +31,14 @@ jobs:
restore-keys: |
${{ runner.os }}-gems-
- name: Bundle install
run: |
bundle config path vendor/bundle
bundle install --jobs 4 --retry 3
- name: Setup environment
run:
source ci_scripts/ci_common.sh && setup_github_actions_environment
- name: SwiftFormat
run:
swiftformat --lint .
- name: Run tests
run: bundle exec fastlane unit_tests
-19
View File
@@ -1,19 +0,0 @@
name: Validate Git LFS
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * 1-5'
jobs:
build:
runs-on: ubuntu-latest
name: Validate
steps:
- uses: actions/checkout@v3
with:
lfs: 'true'
- run: |
./Tools/Scripts/validate_lfs.sh