Skip to content

Commit eca330f

Browse files
committed
docc validation needs JAVA_HOME to be set up
1 parent 0d5dcb7 commit eca330f

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/pull_request.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,26 @@ on:
55
types: [opened, reopened, synchronize]
66

77
jobs:
8+
env-setup:
9+
name: Setup CI Environment
10+
runs-on: ubuntu-latest
11+
strategy:
12+
fail-fast: true
13+
matrix:
14+
swift_version: ['6.1.2']
15+
os_version: ['jammy']
16+
jdk_vendor: ['corretto']
17+
container:
18+
image: ${{ (contains(matrix.swift_version, 'nightly') && 'swiftlang/swift') || 'swift' }}:${{ matrix.swift_version }}-${{ matrix.os_version }}
19+
env:
20+
SWIFT_JAVA_VERBOSE: true
21+
steps:
22+
- uses: actions/checkout@v4
23+
- name: Prepare CI Environment
24+
uses: ./.github/actions/prepare_env
25+
826
soundness:
27+
needs: env-setup
928
uses: swiftlang/github-workflows/.github/workflows/soundness.yml@main
1029
with:
1130
# Not API stable package (yet)

0 commit comments

Comments
 (0)