Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 19 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,17 @@ jobs:

steps:
- uses: actions/checkout@v5
- uses: gradle/actions/wrapper-validation@v4

- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v5
with:
java-version: ${{ matrix.java }}
distribution: 'corretto'
cache: gradle
distribution: "corretto"

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v5
with:
cache-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }}

- name: clean and build
run: ./gradlew clean build -Plog-tests
Expand All @@ -39,7 +42,6 @@ jobs:

steps:
- uses: actions/checkout@v5
- uses: gradle/actions/wrapper-validation@v4
- uses: actions/setup-node@v5
with:
node-version: 18
Expand All @@ -49,8 +51,12 @@ jobs:
uses: actions/setup-java@v5
with:
java-version: ${{ matrix.java }}
distribution: 'corretto'
cache: gradle
distribution: "corretto"

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v5
with:
cache-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }}

- name: clean and build
run: ./gradlew clean build -Plog-tests
Expand Down Expand Up @@ -80,7 +86,7 @@ jobs:
test-typescript:
runs-on: smithy-typescript_ubuntu-latest_8-core
name: TypeScript Test ${{ matrix.node }}
needs: ['ensure-typescript-packages-have-changesets', 'lint-typescript', 'ensure-typescript-formatted']
needs: ["ensure-typescript-packages-have-changesets", "lint-typescript", "ensure-typescript-formatted"]
strategy:
fail-fast: false
matrix:
Expand All @@ -92,13 +98,15 @@ jobs:
with:
node-version: ${{ matrix.node }}
cache: "yarn"
- uses: gradle/actions/wrapper-validation@v4
- name: Set up JDK 17
uses: actions/setup-java@v5
with:
java-version: '17'
distribution: 'corretto'
cache: gradle
java-version: "17"
distribution: "corretto"
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v5
with:
cache-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }}
- name: Install dependencies
run: |
yarn
Expand Down
3 changes: 2 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
smithyVersion=1.62.0
smithyGradleVersion=1.3.0
org.gradle.configuration-cache=true
org.gradle.configuration-cache=true
org.gradle.configuration-cache.inputs.unsafe.ignore.file-system-checks=build/jreleaser/marker.txt