Add rule to infer property types from the right-hand-side value rather than writing the type explicitly on the left-hand side #323
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: CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
test-package-plugin-macos-12: | |
name: Test Package Plugin | |
runs-on: macos-12 | |
strategy: | |
fail-fast: false | |
matrix: | |
xcode: | |
- '13.4.1' # Swift 5.6 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Test Package Plugin | |
run: swift package --allow-writing-to-package-directory format --lint | |
test-package-plugin-macos-13: | |
name: Test Package Plugin | |
runs-on: macos-13 | |
strategy: | |
fail-fast: false | |
matrix: | |
xcode: | |
- '14.2' # Swift 5.7 | |
- '14.3' # Swift 5.8 | |
- '15.0' # Swift 5.9 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Test Package Plugin | |
run: swift package --allow-writing-to-package-directory format --lint | |
unit-tests: | |
name: Unit Tests | |
runs-on: macos-13 | |
strategy: | |
fail-fast: false | |
matrix: | |
xcode: | |
- '15.0' # Swift 5.9 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Run Unit Tests | |
run: swift test |