improve seed/secret detection #86
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/[email protected] | |
- 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/[email protected] | |
with: | |
name: "results-${{ env.NOW }}.xcresult" | |
path: "~/xcode-${{ env.NOW }}.xcresult" | |