Skip to content
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

Enable dependabot and update CI actions #9892

Merged
merged 1 commit into from
Jan 9, 2024
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
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
16 changes: 8 additions & 8 deletions .github/workflows/full-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,17 @@ jobs:
java-version: [ '8', '11', '17' ]
steps:
- name: Checkout GWT itself into one directory
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
path: 'gwt'
- name: Checkout GWT tools into a sibling directory
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: 'gwtproject/tools'
path: 'tools'
- name: Set up JDK ${{ matrix.java-version }}
# GWT presently requires Java8 to build just the SDK and some tests, or 11 to build everything, but can run on newer Java versions
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java-version }}
distribution: 'temurin'
Expand All @@ -57,32 +57,32 @@ jobs:
-Dtest.emma.htmlunit.disable=true

- name: Report test results
uses: mikepenz/action-junit-report@v3.1.0
uses: mikepenz/action-junit-report@v4.0.3
if: always()
with:
report_paths: 'gwt/build/out/**/test/**/reports/TEST-*.xml'
- name: Upload checkstyle xml for manual review in its own artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
if: always()
with:
name: checkstyle-reports-java${{ matrix.java-version }}
path: 'gwt/build/out/**/checkstyle*.xml'
- name: Upload test xml files for manual review in its own artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
if: always()
with:
name: junit-reports-java${{ matrix.java-version }}
path: 'gwt/build/out/**/test/**/reports/TEST-*.xml'

- name: On success, upload the release zip
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: gwt-java${{ matrix.java-version }}
path: 'gwt/build/dist/gwt-*.zip'

- name: Set up sonatype credentials
# Using the same java version as above, set up a settings.xml file
uses: actions/setup-java@v3
uses: actions/setup-java@v4
if: ${{ github.event_name == 'schedule' && github.repository_owner == 'gwtproject' && matrix.java-version == '17' }}
with:
java-version: ${{ matrix.java-version }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/quick-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,19 @@ jobs:
java-version: ['8', '11', '17']
steps:
- name: Checkout GWT itself into one directory
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
path: 'gwt'
# we need depth=2 to see which style violations overlap with the current changes
fetch-depth: 2
- name: Checkout GWT tools into a sibling directory
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: 'gwtproject/tools'
path: 'tools'
- name: Set up JDK ${{ matrix.java-version }}
# GWT presently requires Java8 to build just the SDK and some tests, or 11+ to build everything, and can run on newer Java versions
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java-version }}
distribution: 'temurin'
Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:
reviewdog -f=checkstyle -filter-mode=diff_context -reporter=github-pr-review -level=info < $f
done
- name: Upload checkstyle xml for manual review
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
if: ${{ matrix.java-version == '17' }}
with:
name: checkstyle-reports-java${{ matrix.java-version }}
Expand Down