|
@@ -12,9 +12,17 @@ jobs:
|
|
|
image: swift
|
|
image: swift
|
|
|
steps:
|
|
steps:
|
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/checkout@v4
|
|
|
|
|
+ - uses: actions/cache/restore@v4
|
|
|
|
|
+ with:
|
|
|
|
|
+ path: scripts/.swift-format-source
|
|
|
|
|
+ key: ${{ runner.os }}-swift-format
|
|
|
- name: "Formatting and License Headers check"
|
|
- name: "Formatting and License Headers check"
|
|
|
run: |
|
|
run: |
|
|
|
./scripts/sanity.sh
|
|
./scripts/sanity.sh
|
|
|
|
|
+ - uses: actions/cache/save@v4
|
|
|
|
|
+ with:
|
|
|
|
|
+ path: scripts/.swift-format-source
|
|
|
|
|
+ key: ${{ runner.os }}-swift-format
|
|
|
unit-tests:
|
|
unit-tests:
|
|
|
strategy:
|
|
strategy:
|
|
|
fail-fast: false
|
|
fail-fast: false
|