Skip to content

NWS API changed to updateTime #35

NWS API changed to updateTime

NWS API changed to updateTime #35

Workflow file for this run

name: Apple
env:
NWS_AGENT_CONTACT: ${{ secrets.NWS_AGENT_CONTACT }}
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
macos:
runs-on: macos-latest
steps:
- uses: maxim-lobanov/setup-xcode@v1.1
with:
xcode-version: 14.2
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: .build
key: ${{ runner.os }}-spm-${{ hashFiles('**/Package.resolved') }}
restore-keys: |
${{ runner.os }}-spm-
- name: Build
run: swift build -v
- name: Run tests
run: swift test -v
ios:
runs-on: macos-latest
steps:
- uses: maxim-lobanov/setup-xcode@v1.1
with:
xcode-version: 14.2
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: .build
key: ${{ runner.os }}-spm-${{ hashFiles('**/Package.resolved') }}
restore-keys: |
${{ runner.os }}-spm-
- name: Build
run: xcodebuild clean build-for-testing
-scheme 'NationalWeatherService'
-destination 'name=iPhone 14 Pro'
-quiet
- name: Unit Test
run: xcodebuild test-without-building
-scheme 'NationalWeatherService'
-destination 'name=iPhone 14 Pro'
-quiet