Skip to content

improve seed/secret detection #86

improve seed/secret detection

improve seed/secret detection #86

Workflow file for this run

name: Unit Test
on:
push:
branches:
- main
- develop
pull_request:
branches:
- main
- develop
jobs:
deploy:
name: Running unit tests
runs-on: macos-14
steps:
- name: Select Xcode version
run: sudo xcode-select -s '/Applications/Xcode_15.2.app/Contents/Developer'
- name: Checkout repository
uses: actions/checkout@v4.1.1
- name: Get current date
run: echo "NOW=$(date +'%Y-%m-%dT%H-%M-%S')" >> $GITHUB_ENV
- name: Test
run: xcodebuild test -scheme KukaiCryptoSwift -destination "platform=iOS Simulator,OS=17.2,name=iPhone 15" -enableCodeCoverage YES -resultBundlePath "~/xcode-$NOW.xcresult"
- name: Upload results
if: ${{ success() || failure() }}
uses: actions/upload-artifact@v4.3.1
with:
name: "results-${{ env.NOW }}.xcresult"
path: "~/xcode-${{ env.NOW }}.xcresult"