File tree Expand file tree Collapse file tree 1 file changed +4
-11
lines changed
Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Original file line number Diff line number Diff line change 1616 with :
1717 submodules : recursive
1818
19- - name : Setup uv
20- uses : astral-sh/setup-uv@v6
21- with :
22- activate-environment : true
23-
24- - name : Setup pre-commit
25- shell : sh
26- run : |
27- uv pip install pre-commit
19+ - uses : actions/setup-python@v3
20+ - uses : pre-commit/action@v3.0.1
2821
2922 - name : Clone swift-format
3023 shell : sh
@@ -35,13 +28,13 @@ jobs:
3528 sed -E 's/.*"([^"]+)".*/\1/')
3629 echo "swift-format $LATEST_TAG"
3730 git clone --branch $LATEST_TAG --depth 1 https://github.com/swiftlang/swift-format.git
38- echo "SWIFT_FORMAT_VERSION=$LATEST_TAG" >> $GITHUB_ENV
31+ echo "SWIFT_FORMAT_VERSION=$LATEST_TAG" >> $GITHUB_OUTPUT
3932
4033 - name : Cache swift-format build
4134 uses : actions/cache@v4
4235 with :
4336 path : /tmp/swift-format/.build
44- key : ${{ runner.os }}-swift-format-build-${{ env .SWIFT_FORMAT_VERSION }}
37+ key : ${{ runner.os }}-swift-format-build-${{ needs.lint.outputs .SWIFT_FORMAT_VERSION }}
4538
4639 - name : Build swift-format
4740 shell : sh
You can’t perform that action at this time.
0 commit comments