Use URL almost everywhere #1058
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, Linux, Swift 6.2 # pre-installed | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - &checkout-step | |
| uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | |
| with: | |
| persist-credentials: false | |
| - uses: ./.github/actions/bazel-linux-build | |
| name: Build SwiftLint with Bazel | |
| env: | |
| 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 . | |
| 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' | |
| container: ${{ matrix.image }} | |
| steps: | |
| - *checkout-step | |
| - name: Build plugins | |
| uses: ./.github/actions/run-make | |
| with: | |
| rule: spm_build_plugins |