Bump rules_apple from 4.5.3 to 5.1.0 #2342
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: Lint | |
| on: | |
| pull_request: | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| jobs: | |
| lint-swift: | |
| name: Swift | |
| runs-on: ubuntu-24.04 # "Noble Numbat" | |
| steps: | |
| - &checkout-step | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| persist-credentials: false | |
| - uses: ./.github/actions/bazel-linux | |
| name: Run SwiftLint with Bazel | |
| with: | |
| mode: run | |
| target: //:swiftlint | |
| args: lint --reporter github-actions-logging --strict 2> /dev/null | |
| env: | |
| CI_BAZELRC_FILE_CONTENT: ${{ secrets.CI_BAZELRC_FILE_CONTENT }} | |
| lint-markdown: | |
| name: Markdown | |
| runs-on: ubuntu-slim | |
| steps: | |
| - *checkout-step | |
| - name: Lint | |
| uses: DavidAnson/markdownlint-cli2-action@21c1be1b93ad9ed58fa840aacc3f279cde2a72ff # v24.2.0 | |
| with: | |
| globs: | | |
| CHANGELOG.md | |
| CONTRIBUTING.md | |
| README.md | |
| lint-actions: | |
| name: Actions | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - *checkout-step | |
| - name: Register problem matcher | |
| run: | | |
| curl -sSL https://raw.githubusercontent.com/rhysd/actionlint/main/.github/actionlint-matcher.json > actionlint-matcher.json | |
| echo "::add-matcher::actionlint-matcher.json" | |
| - name: Lint | |
| uses: docker://rhysd/actionlint:latest | |
| with: | |
| args: -color |