Docs update #9
This file contains hidden or 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: Tests | |
| on: | |
| workflow_call: | |
| pull_request: | |
| jobs: | |
| yamllint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check Out Sources | |
| uses: actions/checkout@v2 | |
| with: | |
| submodules: true | |
| - name: Lint yml files | |
| uses: ibiqlik/action-yamllint@v3 | |
| with: | |
| strict: true | |
| markdownlint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check Out Sources | |
| uses: actions/checkout@v2 | |
| - name: Set up Ruby | |
| uses: ruby/setup-ruby@359bebbc29cbe6c87da6bc9ea3bc930432750108 | |
| with: | |
| ruby-version: '3.1' | |
| - name: Install mdl | |
| run: gem install mdl | |
| - name: Lint files | |
| run: mdl . | |
| unittests: | |
| runs-on: macOS-latest | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v2 | |
| with: | |
| submodules: true | |
| - name: Test Swift Framework | |
| run: swift test | |
| swiftlint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check Out Sources | |
| uses: actions/checkout@v2 | |
| with: | |
| submodules: true | |
| - name: Lint Files | |
| uses: norio-nomura/action-swiftlint@3.2.1 | |
| with: | |
| args: --strict | |
| ... |