Skip to content

Use DNS query to threema.ch for checking internet reachability #3

Use DNS query to threema.ch for checking internet reachability

Use DNS query to threema.ch for checking internet reachability #3

Workflow file for this run

name: lint
on:
push:
branches:
- master
paths:
- 'Sources/**'
- 'Tests/**'
- 'test-server/**'
- 'Samples/**'
- '.github/workflows/lint.yml'
- 'scripts/ci-select-xcode.sh'
- 'scripts/no-changes-in-high-risk-files.sh'
pull_request:
paths:
- 'Sources/**'
- 'Tests/**'
- 'test-server/**'
- 'Samples/**'
- '.github/workflows/lint.yml'
- 'scripts/ci-select-xcode.sh'
- 'scripts/no-changes-in-high-risk-files.sh'
jobs:
swift-lint:
name: Swift Lint
runs-on: macos-12
steps:
- uses: actions/checkout@v3
- name: Run SwiftLint
run: swiftlint
xcode-analyze:
name: Xcode Analyze
runs-on: macos-12
steps:
- uses: actions/checkout@v3
- run: ./scripts/ci-select-xcode.sh
- run: make analyze
validate-podspec:
name: Validate Podspec
runs-on: macos-12
strategy:
matrix:
platform: ['ios', 'macos', 'tvos', 'watchos']
steps:
- uses: actions/checkout@v3
- run: ./scripts/ci-select-xcode.sh
- name: Validate Podspec
run: pod lib lint --verbose --platforms=${{ matrix.platform }}
shell: sh
validate-high-risk-files:
name: No changes in high risk files
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: ./scripts/no-changes-in-high-risk-files.sh