Add spconfigprofile_install_source to ignored keys #75
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: Linting | |
| on: | |
| push: | |
| paths: ["**.swift"] | |
| branches: [main] | |
| pull_request: | |
| paths: ["**.swift"] | |
| branches: [main] | |
| workflow_dispatch: | |
| jobs: | |
| linting: | |
| name: Linting | |
| runs-on: macos-14 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: swift-actions/setup-swift@v2 | |
| - name: Run SwiftLint | |
| uses: cirruslabs/swiftlint-action@v1 | |
| with: | |
| args: --strict | |
| version: latest | |
| - name: Print SwiftFormat version | |
| run: swiftformat --version | |
| - name: Run SwiftFormat | |
| run: swiftformat --lint . | |
| - name: Download DrString | |
| run: curl --location --remote-name https://github.com/dduan/DrString/releases/latest/download/drstring-universal-apple-darwin.tar.gz | |
| - name: Extract DrString | |
| run: | | |
| mkdir drstring-universal-apple-darwin | |
| tar --extract --file drstring-universal-apple-darwin.tar.gz --directory drstring-universal-apple-darwin | |
| - name: Add DrString to $PATH | |
| run: echo "$GITHUB_WORKSPACE/drstring-universal-apple-darwin" >> $GITHUB_PATH | |
| - name: Print DrString version | |
| run: drstring --version | |
| - name: Run DrString | |
| run: drstring check --config-file .drstring.toml |