Skip to content

Commit eab5125

Browse files
committed
PR feedback
1 parent 114c765 commit eab5125

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

.github/workflows/pull_request.yml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,8 @@ jobs:
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

0 commit comments

Comments
 (0)