Skip to content

Fix: getting wrong amount in totals tab when update expense/payment date #1126

Fix: getting wrong amount in totals tab when update expense/payment date

Fix: getting wrong amount in totals tab when update expense/payment date #1126

Workflow file for this run

name: Build
on: push
jobs:
build:
runs-on: macos-13
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
- name: Set Xcode Version
run: |
sudo xcode-select -switch /Applications/Xcode_15.2.app
- name: Display Xcode Version
run: /usr/bin/xcodebuild -version
- name: Cache DerivedData
uses: actions/cache@v2
with:
path: |
DerivedData
key: ${{ runner.os }}-derived-data-${{ hashFiles('**/*.xcworkspace') }}
restore-keys: |
${{ runner.os }}-derived-data-
- name: Cache CocoaPods
uses: actions/cache@v2
with:
path: |
Pods
key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }}
restore-keys: |
${{ runner.os }}-pods-
- name: Install CocoaPods
run: |
if [ -f "Podfile.lock" ] && [ -f "${{ runner.workspace }}/Podfile.lock" ] && cmp -s Podfile.lock "${{ runner.workspace }}/Podfile.lock"; then
echo "Podfile.lock unchanged. Skipping pod installs."
else
gem install cocoapods
pod install --repo-update
fi
- name: Run SwiftLint
run: |
if git diff --name-only ${{ github.sha }} | grep -q '\.swift$'; then
Pods/SwiftLint/swiftlint Splito
else
echo "No Swift files changed. Skipping SwiftLint."
fi
- name: Build Project
run: |
xcodebuild -workspace Splito.xcworkspace -scheme "Splito" clean build -sdk iphoneos CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED="NO" -destination generic/platform=iOS OTHER_CFLAGS="-Wno-deprecated-builtins" | xcpretty --color