Skip to content

Commit 10a3bea

Browse files
committed
Rename release build and format test
Avoid running libarchive prebuild script for these
1 parent b95a041 commit 10a3bea

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/pull_request.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,22 +29,24 @@ jobs:
2929
linux_pre_build_command: ((apt-get update && apt-get -y install curl make) || ((curl --help || yum -y install curl) && yum -y install make)) && ./scripts/install-libarchive.sh
3030
enable_windows_checks: false
3131

32-
releasetest:
33-
name: Release Test
32+
releasebuild:
33+
name: Release Build
3434
uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@main
3535
with:
3636
linux_os_versions: "[\"rhel-ubi9\"]"
3737
# We only care about the current stable release, because that's where we make our swiftly releases
3838
linux_exclude_swift_versions: "[{\"swift_version\": \"nightly-main\"},{\"swift_version\": \"nightly-6.0\"},{\"swift_version\": \"5.8\"},{\"swift_version\": \"5.9\"},{\"swift_version\": \"5.10\"}]"
39+
linux_pre_build_command: echo ""
3940
linux_build_command: swift run build-swiftly-release --skip 0.4.0
4041
enable_windows_checks: false
4142

42-
formattest:
43-
name: Format Test
43+
formatcheck:
44+
name: Format Check
4445
uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@main
4546
with:
4647
# We only need to run this with one swift release and on one of the linux distributions
4748
linux_os_versions: "[\"jammy\"]"
4849
linux_exclude_swift_versions: "[{\"swift_version\": \"nightly-main\"},{\"swift_version\": \"nightly-6.0\"},{\"swift_version\": \"5.8\"},{\"swift_version\": \"5.9\"},{\"swift_version\": \"5.10\"}]"
50+
linux_pre_build_command: echo ""
4951
linux_build_command: swift run swiftformat --lint --dryrun .
5052
enable_windows_checks: false

0 commit comments

Comments
 (0)