Unverified Commit a7ab3725 authored by dependabot[bot]'s avatar dependabot[bot] Committed by GitHub
Browse files

Bump prettier from 2.8.8 to 3.6.2 (#873)

* Bump prettier from 2.8.8 to 3.6.2

Bumps [prettier](https://github.com/prettier/prettier) from 2.8.8 to 3.6.2.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.8.8...3.6.2)

---
updated-dependencies:
- dependency-name: prettier
  dependency-version: 3.6.2
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: default avatardependabot[bot] <[email protected]>

* doc update and check failure fix

* npm run format-check

* doc format update

* doc update

* doc update

---------

Signed-off-by: default avatardependabot[bot] <[email protected]>
Co-authored-by: default avatardependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: default avatarAparna Jyothi <[email protected]>
parent d0351b48
Loading
Loading
Loading
Loading
+7
Changes for README.md: 7 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -18,6 +18,13 @@ The `setup-java` action provides the following functionality for GitHub Actions

This action allows you to work with Java and Scala projects.

## Breaking changes in V5

- Upgraded action from node20 to node24
  > Make sure your runner is on version v2.327.1 or later to ensure compatibility with this release [Release Notes](https://github.com/actions/runner/releases/tag/v2.327.1)

For more details,  see the full release notes on the [releases page](https://github.com/actions/setup-java/releases/tag/v5.0.0)

## V2 vs V1

- V2 supports custom distributions and provides support for Azul Zulu OpenJDK, Eclipse Temurin and AdoptOpenJDK  out of the box. V1 supports only Azul Zulu OpenJDK.
+4 −6
Changes for __tests__/distributors/corretto-installer.test.ts: 4 added lines, 6 removed lines.
Original line number Diff line number Diff line
@@ -150,9 +150,8 @@ describe('getAvailableVersions', () => {
      });
      mockPlatform(distribution, platform);

      const availableVersion = await distribution['findPackageForDownload'](
        version
      );
      const availableVersion =
        await distribution['findPackageForDownload'](version);
      expect(availableVersion).not.toBeNull();
      expect(availableVersion.url).toBe(expectedLink);
    });
@@ -222,9 +221,8 @@ describe('getAvailableVersions', () => {

        const expectedLink = `https://corretto.aws/downloads/resources/17.0.2.8.1/amazon-corretto-17.0.2.8.1-macosx-${distroArch}.tar.gz`;

        const availableVersion = await distribution['findPackageForDownload'](
          '17'
        );
        const availableVersion =
          await distribution['findPackageForDownload']('17');
        expect(availableVersion).not.toBeNull();
        expect(availableVersion.url).toBe(expectedLink);
      }
+2 −3
Changes for __tests__/distributors/dragonwell-installer.test.ts: 2 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -206,9 +206,8 @@ describe('getAvailableVersions', () => {
        });
        mockPlatform(distribution, platform);

        const availableVersion = await distribution['findPackageForDownload'](
          jdkVersion
        );
        const availableVersion =
          await distribution['findPackageForDownload'](jdkVersion);
        expect(availableVersion).not.toBeNull();
        expect(availableVersion.url).toBe(expectedLink);
      }
+2 −3
Changes for __tests__/distributors/jetbrains-installer.test.ts: 2 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -76,9 +76,8 @@ describe('findPackageForDownload', () => {
        checkLatest: false
      });
      distribution['getAvailableVersions'] = async () => manifestData as any;
      const resolvedVersion = await distribution['findPackageForDownload'](
        input
      );
      const resolvedVersion =
        await distribution['findPackageForDownload'](input);
      const url = resolvedVersion.url;
      const options = {method: 'HEAD'};

+4 −6
Changes for __tests__/distributors/sapmachine-installer.test.ts: 4 added lines, 6 removed lines.
Original line number Diff line number Diff line
@@ -61,9 +61,8 @@ describe('getAvailableVersions', () => {

      mockPlatform(distribution, 'linux');

      const availableVersion = await distribution['findPackageForDownload'](
        version
      );
      const availableVersion =
        await distribution['findPackageForDownload'](version);
      expect(availableVersion).not.toBeNull();
      expect(availableVersion.url).toBe(
        'https://github.com/SAP/SapMachine/releases/download/sapmachine-17.0.10/sapmachine-jdk-17.0.10_linux-x64_bin.tar.gz'
@@ -230,9 +229,8 @@ describe('getAvailableVersions', () => {
        });
        mockPlatform(distribution, platform);

        const availableVersion = await distribution['findPackageForDownload'](
          normalizedVersion
        );
        const availableVersion =
          await distribution['findPackageForDownload'](normalizedVersion);
        expect(availableVersion).not.toBeNull();
        expect(availableVersion.url).toBe(expectedLink);
      }
Loading