Add auto-correction, and multi-violation support to multiline_call_arguments #2188
Workflow file for this run
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: Build | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| bazel_linux: | |
| name: Bazel ${{ matrix.bazel_version }}, Linux, Swift 6.3 # pre-installed | |
| runs-on: ubuntu-24.04 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - bazel_version: 7.6.1 | |
| - bazel_version: 8.7.0 | |
| - bazel_version: 9.1.1 | |
| steps: | |
| - &checkout-step | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| persist-credentials: false | |
| - uses: ./.github/actions/bazel-linux | |
| name: Build SwiftLint with Bazel | |
| env: | |
| USE_BAZEL_VERSION: ${{ matrix.bazel_version }} | |
| CI_BAZELRC_FILE_CONTENT: ${{ secrets.CI_BAZELRC_FILE_CONTENT }} | |
| - name: Verify SourceKit dynamic loading behavior | |
| run: bash tools/verify-sourcekit-loading.sh bazel-bin/swiftlint . | |
| bazel_macos: | |
| name: Bazel, macOS 14, Xcode 16.2 # default | |
| runs-on: macos-14 | |
| steps: | |
| - *checkout-step | |
| - name: Build SwiftLint with Bazel | |
| run: make --debug bazel_release | |
| env: | |
| DEVELOPER_DIR: /Applications/Xcode_16.2.app | |
| plugins_linux: | |
| name: SPM plugins, Linux, Swift ${{ matrix.version }} | |
| runs-on: ubuntu-24.04 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - image: swift:5.9-jammy | |
| version: "5.9" | |
| - image: swift:5.10-noble | |
| version: "5.10" | |
| - image: swift:6.0-noble | |
| version: "6.0" | |
| - image: swift:6.1-noble | |
| version: "6.1" | |
| - image: swift:6.2-noble | |
| version: "6.2" | |
| - image: swift:6.3-noble | |
| version: "6.3" | |
| container: ${{ matrix.image }} | |
| steps: | |
| - *checkout-step | |
| - name: Build plugins | |
| uses: ./.github/actions/run-make | |
| with: | |
| rule: spm_build_plugins |