From 4b44a7851dc1d4fd2ac21a54df6c24db5625223c Mon Sep 17 00:00:00 2001 From: Joe Wang <106995533+JoeWang1127@users.noreply.github.com> Date: Mon, 11 Mar 2024 10:20:04 -0400 Subject: [PATCH] chore: update action version (#2552) In this PR: - Update action version - Format python code --- .github/workflows/verify_library_generation.yaml | 14 +++++++------- library_generation/test/integration_tests.py | 3 ++- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/verify_library_generation.yaml b/.github/workflows/verify_library_generation.yaml index 6299c66612..b5707b443d 100644 --- a/.github/workflows/verify_library_generation.yaml +++ b/.github/workflows/verify_library_generation.yaml @@ -15,13 +15,13 @@ jobs: java: [ 11 ] runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 - - uses: actions/setup-java@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-java@v4 with: java-version: ${{ matrix.java }} distribution: temurin cache: maven - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: 3.11 - name: install pyenv @@ -58,14 +58,14 @@ jobs: os: [ ubuntu-22.04, macos-12 ] runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: install utils (macos) if: matrix.os == 'macos-12' shell: bash run: | brew update --preinstall brew install coreutils - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: 3.11 - name: install python dependencies @@ -101,7 +101,7 @@ jobs: lint-shell: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Run ShellCheck uses: ludeeus/action-shellcheck@2.0.0 with: @@ -111,7 +111,7 @@ jobs: lint-python: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: install python dependencies shell: bash run: | diff --git a/library_generation/test/integration_tests.py b/library_generation/test/integration_tests.py index b10aeeb301..3bf50d0394 100755 --- a/library_generation/test/integration_tests.py +++ b/library_generation/test/integration_tests.py @@ -76,7 +76,8 @@ def test_get_commit_message_success(self): cmp( f"{config_dir}/{repo}/pr-description-golden.txt", f"{description_file}", - ), "The generated PR description does not match the expected golden file" + ), + "The generated PR description does not match the expected golden file", ) os.remove(f"{description_file}")