|
@@ -13,7 +13,7 @@ jobs:
|
|
|
pre-commit:
|
|
pre-commit:
|
|
|
runs-on: ubuntu-latest
|
|
runs-on: ubuntu-latest
|
|
|
steps:
|
|
steps:
|
|
|
- - uses: actions/checkout@v3
|
|
|
|
|
|
|
+ - uses: actions/checkout@v4
|
|
|
with:
|
|
with:
|
|
|
# Need to grab the history of the PR
|
|
# Need to grab the history of the PR
|
|
|
fetch-depth: 0
|
|
fetch-depth: 0
|
|
@@ -27,18 +27,17 @@ jobs:
|
|
|
rustup install 1.73.0
|
|
rustup install 1.73.0
|
|
|
- name: Install protoc
|
|
- name: Install protoc
|
|
|
uses: arduino/setup-protoc@v3
|
|
uses: arduino/setup-protoc@v3
|
|
|
- - uses: actions/checkout@v4
|
|
|
|
|
- name: Install poetry
|
|
- name: Install poetry
|
|
|
run: pipx install poetry
|
|
run: pipx install poetry
|
|
|
- uses: actions/setup-python@v2
|
|
- uses: actions/setup-python@v2
|
|
|
with:
|
|
with:
|
|
|
python-version: ${{ env.PYTHON_VERSION }}
|
|
python-version: ${{ env.PYTHON_VERSION }}
|
|
|
id: setup_python
|
|
id: setup_python
|
|
|
- - name: Cache Poetry cache
|
|
|
|
|
- uses: actions/cache@v3
|
|
|
|
|
- with:
|
|
|
|
|
- path: ~/.cache/pypoetry
|
|
|
|
|
- key: poetry-cache-${{ runner.os }}-${{ steps.setup_python.outputs.python-version }}-${{ env.POETRY_VERSION }}
|
|
|
|
|
|
|
+ # - name: Cache Poetry cache
|
|
|
|
|
+ # uses: actions/cache@v3
|
|
|
|
|
+ # with:
|
|
|
|
|
+ # path: ~/.cache/pypoetry
|
|
|
|
|
+ # key: poetry-cache-${{ runner.os }}-${{ steps.setup_python.outputs.python-version }}-${{ env.POETRY_VERSION }}
|
|
|
- uses: pre-commit/action@v3.0.0
|
|
- uses: pre-commit/action@v3.0.0
|
|
|
if: ${{ github.event_name == 'pull_request' }}
|
|
if: ${{ github.event_name == 'pull_request' }}
|
|
|
# with:
|
|
# with:
|