Files
dependabot[bot] 0e011258a5 Bump actions/checkout from 6.0.1 to 6.0.2 (#6455)
Bumps [actions/checkout](https://github.com/actions/checkout) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/8e8c483db84b4bee98b60c0593521ed34d9990e8...de0fac2e4500dabe0009e67214ff5f5447ce83dd)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 6.0.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-23 16:46:50 +01:00

51 lines
1.3 KiB
YAML

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@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
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