Upgraded repository checkout step to actions/checkout@v4 #2
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 Tests | |
on: | |
push: | |
branches: [ "master" ] | |
paths-ignore: | |
- 'README.md' | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
tests: | |
name: Swift ${{ matrix.swift }} on ${{ matrix.platform }} | |
strategy: | |
matrix: | |
platform: ['macOS', 'iOS'] | |
swift: ["5.7", "5.8"] | |
runs-on: macos-latest | |
steps: | |
- name: Repository checkout | |
uses: actions/checkout@v4 | |
- name: Run Swiftlint | |
run: swiftlint | |
- name: Run swift tests | |
run: swift test |