Merge pull request #53 from shimastripe/firebase/v11 #108
Workflow file for this run
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: Swift | |
on: [push] | |
jobs: | |
build: | |
runs-on: macos-14 | |
env: | |
TEST: 1 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Create GoogleService-Info.plist from GOOGLE_SERVICE_INFO_PLIST | |
run: | | |
echo GOOGLE_SERVICE_INFO_PLIST | base64 -d >> Tests/GoogleService-Info.plist | |
shell: bash | |
env: | |
GOOGLE_SERVICE_INFO_PLIST: ${{ secrets.GOOGLE_SERVICE_INFO_PLIST }} | |
- name: Lint | |
run: | | |
brew update && brew install swift-format && swift-format lint -s -r Sources -r Tests | |
- name: Build | |
run: swift build | |
- name: Run tests | |
run: swift test |