diff --git a/.github/workflows/integration-tests-csharp.yml b/.github/workflows/integration-tests-csharp.yml index 7b73ac45c..7324cbb4e 100644 --- a/.github/workflows/integration-tests-csharp.yml +++ b/.github/workflows/integration-tests-csharp.yml @@ -29,7 +29,7 @@ jobs: # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ dotnet-version: [6.x] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Test csharp tests run: dotnet test tests/integration-tests/csharp/csharp.csproj diff --git a/.github/workflows/integration-tests-java.yml b/.github/workflows/integration-tests-java.yml index 8f51dc554..2aaedbb1f 100644 --- a/.github/workflows/integration-tests-java.yml +++ b/.github/workflows/integration-tests-java.yml @@ -26,17 +26,22 @@ jobs: WEB_PUBSUB_CONNECTION_STRING: ${{ github.event.inputs.web_pubsub_connection_string || secrets.WEB_PUBSUB_CONNECTION_STRING }} strategy: matrix: - java-version: [11] + java-version: [17] steps: - - uses: actions/checkout@v3 - + - uses: actions/checkout@v4 - name: Set up JDK ${{ matrix.java-version }} - uses: actions/setup-java@v2 + uses: actions/setup-java@v3 with: java-version: ${{ matrix.java-version }} + distribution: 'temurin' + cache: maven - name: Build and test with Maven run: pushd tests/integration-tests/java/integration-tests | mvn -B verify --file pom.xml | - popd \ No newline at end of file + popd + + # Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive + - name: Update dependency graph + uses: advanced-security/maven-dependency-submission-action@571e99aab1055c2e71a1e2309b9691de18d6b7d6 \ No newline at end of file diff --git a/.github/workflows/integration-tests-js.yml b/.github/workflows/integration-tests-js.yml index 37c91caf8..3970b59f4 100644 --- a/.github/workflows/integration-tests-js.yml +++ b/.github/workflows/integration-tests-js.yml @@ -28,7 +28,7 @@ jobs: matrix: node-version: [18.x] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v3 @@ -37,7 +37,7 @@ jobs: cache: 'npm' - name: Test js tests run: - pushd tests\integration-tests\js | + pushd tests/integration-tests/js | npm run test | popd diff --git a/.github/workflows/integration-tests-python.yml b/.github/workflows/integration-tests-python.yml index bfc010b4b..32a1d0063 100644 --- a/.github/workflows/integration-tests-python.yml +++ b/.github/workflows/integration-tests-python.yml @@ -26,20 +26,18 @@ jobs: WEB_PUBSUB_CONNECTION_STRING: ${{ github.event.inputs.web_pubsub_connection_string || secrets.WEB_PUBSUB_CONNECTION_STRING }} strategy: matrix: - python-version: [3.9] + python-version: [3.10] steps: - - uses: actions/checkout@v3 - + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 - with: - python-version: ${{ matrix.python-version }} - + uses: actions/setup-python@v5 + with: + python-version: ${{ matrix.python-version }} + cache: 'pip' # caching pip dependencies - name: Install dependencies run: | python -m pip install --upgrade pip - pip install -r requirements.txt # If you have any additional requirements - + pip install -r requirements.txt - name: Run tests run: pushd tests/integration-tests/python |