Skip to content

Commit f6537a6

Browse files
committed
[CI] Add support for GitHub Actions
1 parent 885b45a commit f6537a6

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/pull_request.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: pull_request
2+
3+
on:
4+
pull_request:
5+
types: [opened, reopened, synchronize]
6+
7+
jobs:
8+
tests:
9+
name: tests
10+
uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@main
11+
with:
12+
exclude_swift_versions: "[{\"swift_version\": \"5.8\"}]"
13+
pre_build_command: "apt-get update -y -q && apt-get install -y -q openjdk-21-jdk"
14+
env_vars: |
15+
JAVA_HOME="/usr/lib/jvm/java-21-openjdk-amd64"

0 commit comments

Comments
 (0)