-
Notifications
You must be signed in to change notification settings - Fork 199
chore: update GitHub actions workflows #1806
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
56 commits
Select commit
Hold shift + click to select a range
e3f03fb
New Baseline to Java 17 (#1765)
puneetbehl bcf5c6a
Merge branch '8.0.x' into 9.0.x
puneetbehl b153bf0
Merge branch '8.0.x' into 9.0.x
puneetbehl 4c03d83
Merge branch '9.0.x' into jamesfredley/9.0.x-changes
jamesfredley 122ad22
javax to jakarta, groovy 4, spring framework 6 and spring boot 3 migr…
jamesfredley cfcf0bf
fix(deps): update dependency org.javassist:javassist to v3.30.2-ga (#…
renovate[bot] 3559ce2
fix(deps): update dependency commons-validator:commons-validator to v…
renovate[bot] e617b52
chore(deps): update plugin com.gradle.enterprise to v3.18 (#1804)
renovate[bot] b2aba3e
fix(deps): update spring core to v6.1.12 (#1803)
renovate[bot] 0dccb03
fix(deps): update spring core to v6.1.13 (#1820)
renovate[bot] bca9656
chore(deps): update dependency gradle to v8.10.1 (#1818)
renovate[bot] 9e9627f
chore(deps): update plugin com.gradle.enterprise to v3.18.1 (#1819)
renovate[bot] 3268c9b
fix(deps): update groovy monorepo to v4.0.23 (#1821)
renovate[bot] 581b9e0
Move all versions to gradle.properties, update dependencies to latest…
jamesfredley c6d4573
chore(deps): update dependency gradle to v8.10.2 (#1826)
renovate[bot] c314c9d
fix(deps): update dependency com.h2database:h2 to v2.3.232
renovate[bot] dc1dbf7
get rid of commons-lang
codeconsole a97ed18
Merge pull request #1814 from grails/renovate/h2version
codeconsole 04a321d
el libraries are provided by container
codeconsole e4acaf8
compileOnlyApi jakarta.el (#1829)
jamesfredley 1fe227f
Update to grails-async 6.0.0-SNAPSHOT, spring 6.1.14 and us hibernate…
jamesfredley ceeb6fe
restore required glassfish el implementation since it broke all test …
jamesfredley 119f5ea
add grails-bom to resolve dependency versions
jamesfredley 9f1770f
use Groovy 4.0.24-SNAPSHOT
jamesfredley b13a33d
restore domain inheritance tests
jamesfredley 76c8e8d
adjust Domain examples
jamesfredley 8f1a819
Merge pull request #1834 from grails/restore-domain-inheritance
jamesfredley 5bcf9ce
remove comments
jamesfredley a3ee2c1
trigger hibernate6 repository build github workflow
jamesfredley ea7c95e
skip test for hibernate6 in addition to hibernate5
jamesfredley 678b4b9
Merge pull request #1835 from grails/test-cleanup
jamesfredley 41aeda8
Fix #1155 - validate(args) should be consistent with validate()
jdaugherty c8f7b0d
Cleanup & fix annotation reading for classpath scanning
jdaugherty 0cfee5f
Merge pull request #1836 from jdaugherty/9.0.x
jdaugherty 42ca4a9
Revert classpath scanning change, use the same strategy as grails-core
jdaugherty 165eb79
Merge pull request #1837 from jdaugherty/9.0.x
jdaugherty ac3fb74
Merge branch '9.0.x' into feature/9.0.x/1155-skip-validate
jdaugherty 462fb19
Merge pull request #1838 from jdaugherty/feature/9.0.x/1155-skip-vali…
jdaugherty 83fd6de
Remove api dependency until groovy version stabilizes
codeconsole e6476c3
Merge pull request #1839 from codeconsole/9.0.x-no-groovy-api
codeconsole 9f93975
remove groovy transitive dependency until groovy version stabilizes
codeconsole e94d5a5
Merge pull request #1840 from codeconsole/9.0.x-no-groovy-api
codeconsole badd26c
dependency cleanup
codeconsole a0f2c95
Merge pull request #1841 from codeconsole/9.0.x-bom-cleanup
codeconsole 5094249
Merge branch '8.1.x' into 9.0.x
codeconsole 5629912
jdk 17
codeconsole 9dbec11
Update groovy monorepo to v4.0.24
renovate[bot] 67b35ae
Merge pull request #1842 from grails/renovate/groovy-monorepo
jdaugherty 9099abc
Updates since groovy 4.0.24 is released
jdaugherty ece45c5
Merge pull request #1843 from jdaugherty/9.0.x
jdaugherty 8e4ef49
Add back logic for groovy snapshot support
jdaugherty 4cacca3
Merge pull request #1844 from jdaugherty/9.0.x
jdaugherty a769b54
Update dependency gradle to v8.11
renovate[bot] 4e867b0
Merge pull request #1846 from grails/renovate/gradle-8.x
codeconsole d9493e5
ci: Update `groovy-joint-workflow` to use `mavenLocal()` (#1849)
matrei 66faa02
chore: update GH actions workflows
tylervz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,48 +9,59 @@ on: | |
| jobs: | ||
| build: | ||
| runs-on: ubuntu-latest | ||
| strategy: | ||
| matrix: | ||
| java: ['11', '14'] | ||
| steps: | ||
| - uses: actions/checkout@v3 | ||
| - uses: actions/checkout@v4 | ||
| - name: Set up JDK | ||
| uses: actions/setup-java@v3 | ||
| uses: actions/setup-java@v4 | ||
| with: | ||
| distribution: 'adopt' | ||
| java-version: ${{ matrix.java }} | ||
| distribution: temurin | ||
| java-version: 17 | ||
| - name: Setup Gradle | ||
| uses: gradle/actions/setup-gradle@v3 | ||
| with: | ||
| # Publish a Gradle build scan so you can see all the build logs, | ||
| # a complete task timeline, test outputs, and the resolved dependencies of your build. | ||
| build-scan-publish: true | ||
| build-scan-terms-of-use-url: "https://gradle.com/terms-of-service" | ||
| build-scan-terms-of-use-agree: "yes" | ||
| - name: Run Build | ||
| id: build | ||
| uses: gradle/gradle-build-action@v2 | ||
| run: ./gradlew build | ||
| env: | ||
| GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }} | ||
| with: | ||
| arguments: build | ||
| DEVELOCITY_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }} | ||
| DEVELOCITY_BUILD_CACHE_NODE_USER: ${{ secrets.GRADLE_ENTERPRISE_BUILD_CACHE_NODE_USER }} | ||
| DEVELOCITY_BUILD_CACHE_NODE_KEY: ${{ secrets.GRADLE_ENTERPRISE_BUILD_CACHE_NODE_KEY }} | ||
| publish: | ||
| if: github.event_name == 'push' | ||
| needs: ["build"] | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v3 | ||
| - uses: actions/checkout@v4 | ||
| - name: Set up JDK | ||
| uses: actions/setup-java@v3 | ||
| uses: actions/setup-java@v4 | ||
| with: | ||
| distribution: temurin | ||
| java-version: '17' | ||
| - name: Setup Gradle | ||
| uses: gradle/actions/setup-gradle@v3 | ||
| with: | ||
| distribution: 'adopt' | ||
| java-version: '11' | ||
| build-scan-publish: true | ||
| build-scan-terms-of-use-url: "https://gradle.com/terms-of-service" | ||
| build-scan-terms-of-use-agree: "yes" | ||
| - name: Publish to Artifactory (repo.grails.org) | ||
| uses: gradle/gradle-build-action@v2 | ||
| run: ./gradlew -Dorg.gradle.internal.publish.checksums.insecure=true publish | ||
| env: | ||
| GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }} | ||
| DEVELOCITY_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }} | ||
| DEVELOCITY_BUILD_CACHE_NODE_USER: ${{ secrets.GRADLE_ENTERPRISE_BUILD_CACHE_NODE_USER }} | ||
| DEVELOCITY_BUILD_CACHE_NODE_KEY: ${{ secrets.GRADLE_ENTERPRISE_BUILD_CACHE_NODE_KEY }} | ||
| ARTIFACTORY_USERNAME: ${{ secrets.ARTIFACTORY_USERNAME }} | ||
| ARTIFACTORY_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }} | ||
| with: | ||
| arguments: -Dorg.gradle.internal.publish.checksums.insecure=true publish | ||
| trigger-build-gorm-impls: | ||
| if: github.event_name == 'push' | ||
| needs: ["build", "publish"] | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v3 | ||
| - uses: actions/checkout@v4 | ||
| - name: Extract branch name | ||
| id: extract_branch | ||
| run: echo "value=${GITHUB_REF:11}" >> $GITHUB_OUTPUT | ||
|
|
@@ -64,6 +75,13 @@ jobs: | |
| repo: grails/gorm-hibernate5 | ||
| ref: ${{ steps.extract_branch.outputs.value }} | ||
| token: ${{ secrets.GH_TOKEN }} | ||
| - name: Invoke the Java CI workflow in GORM Hibernate6 | ||
| uses: benc-uk/[email protected] | ||
| with: | ||
| workflow: Java CI | ||
| repo: grails/gorm-hibernate6 | ||
| ref: ${{ steps.extract_branch.outputs.value }} | ||
| token: ${{ secrets.GH_TOKEN }} | ||
| - name: Invoke the Java CI workflow in GORM MongoDB | ||
| uses: benc-uk/[email protected] | ||
| with: | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -14,7 +14,7 @@ jobs: | |
| release_notes: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v3 | ||
| - uses: actions/checkout@v4 | ||
| - name: Check if it has release drafter config file | ||
| id: check_release_drafter | ||
| run: | | ||
|
|
@@ -24,7 +24,7 @@ jobs: | |
| id: extract_branch | ||
| run: echo "value=${GITHUB_REF:11}" >> $GITHUB_OUTPUT | ||
| # If it has release drafter: | ||
| - uses: release-drafter/release-drafter@v5 | ||
| - uses: release-drafter/release-drafter@v6 | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There are no breaking changes in this release: |
||
| if: steps.check_release_drafter.outputs.has_release_drafter == 'true' | ||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | ||
|
|
||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
gradle/actions/setup-gradleaction replacesgradle/gradle-build-action.Reference:
https://github.com/gradle/actions/tree/af6e5767241073b8ab20cc8cf7e95ec63fadc160/setup-gradle#the-setup-gradle-action