Skip to content

Commit

Permalink
chore: update action version (#2552)
Browse files Browse the repository at this point in the history
In this PR:
- Update action version
- Format python code
  • Loading branch information
JoeWang1127 authored Mar 11, 2024
1 parent 89381c7 commit 4b44a78
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/verify_library_generation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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/[email protected]
with:
Expand All @@ -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: |
Expand Down
3 changes: 2 additions & 1 deletion library_generation/test/integration_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}")

Expand Down

0 comments on commit 4b44a78

Please sign in to comment.