diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000000..ca79ca5b4d --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,6 @@ +version: 2 +updates: + - package-ecosystem: github-actions + directory: / + schedule: + interval: weekly diff --git a/.github/workflows/full-check.yml b/.github/workflows/full-check.yml index 9d98ad5f80..5e5110f795 100644 --- a/.github/workflows/full-check.yml +++ b/.github/workflows/full-check.yml @@ -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' @@ -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 }} diff --git a/.github/workflows/quick-check.yml b/.github/workflows/quick-check.yml index 75c861c469..6d6eea178d 100644 --- a/.github/workflows/quick-check.yml +++ b/.github/workflows/quick-check.yml @@ -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' @@ -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 }}