-
Notifications
You must be signed in to change notification settings - Fork 36
50 lines (40 loc) · 1.21 KB
/
codegen-compatibility.yml
File metadata and controls
50 lines (40 loc) · 1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: Codegen Compatibility
on:
# Run daily at 4 AM UTC
schedule:
- cron: '0 4 * * *'
# Allow manual trigger
workflow_dispatch:
permissions:
contents: read
jobs:
codegen-compatibility:
runs-on: ubuntu-latest
name: AWS Model Codegen Compatibility
steps:
- uses: actions/checkout@v6
- name: Set up JDK 21
uses: actions/setup-java@v5
with:
java-version: 21
distribution: 'corretto'
- name: Cache compiled buildscripts
uses: actions/cache@v5
with:
key: ${{ runner.os }}-gradle-${{ hashFiles('buildSrc/**/*.kts') }}
path: |
./buildSrc/build
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v6
with:
cache-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }}
gradle-home-cache-includes: |
caches
- name: Run codegen compatibility tests
run: |
./gradlew :codegen:codegen-plugin:integ -PawsModelsTests --tests "*.AwsModelCodegenCompilationTest" --stacktrace
- uses: actions/upload-artifact@v7
if: failure()
with:
name: codegen-compatibility-report
path: '**/build/reports/tests'