Skip to content

Commit

Permalink
Use consistent capitalization in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
fboemer committed Aug 12, 2024
1 parent db8a0b7 commit 615b259
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: pre-commit
- name: Install pre-commit
run: pip install pre-commit
- name: pre-commit checks
- name: Pre-commit checks
# CI will commit to `main`
# swiftformat & swiftlint tested separately
run: >
Expand All @@ -72,39 +72,39 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: cache swiftlint
- name: Cache SwiftLint
id: cache-swiftlint
uses: actions/cache@v4
with:
path: /tmp/swiftlint/SwiftLint/.build/release/swiftlint
key: ${{ runner.os }}-swiftlint-${{ env.SWIFTLINT_VERSION }}
- name: install swiftlint
- name: Install SwiftLint
if: steps.cache-swiftlint.outputs.cache-hit != 'true'
run: |
ci/install-swiftlint.sh
- name: run swiftlint
- name: Run SwiftLint
run: /tmp/swiftlint/SwiftLint/.build/release/swiftlint lint --strict .
lockwood-swiftformat:
timeout-minutes: 5
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: cache swiftformat
- name: Cache SwiftFormat
id: cache-swiftformat
uses: actions/cache@v4
with:
path: /tmp/swiftformat/SwiftFormat/.build/release/swiftformat
key: ${{ runner.os }}-swiftformat-${{ env.SWIFTFORMAT_VERSION }}
- name: install Lockwood swiftformat
- name: Install Lockwood SwiftFormat
if: steps.cache-swiftformat.outputs.cache-hit != 'true'
run: |
ci/install-lockwood-swiftformat.sh
- name: run swiftformat
- name: Run SwiftFormat
run: /tmp/swiftformat/SwiftFormat/.build/release/swiftformat --strict .
check-doc-comments:
timeout-minutes: 5
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: check documentation comments
- name: Check documentation comments
run: ci/run-apple-swift-format.sh

0 comments on commit 615b259

Please sign in to comment.