Skip to content

Commit

Permalink
chore(deps): pin dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored Sep 6, 2023
1 parent a998cd1 commit 706342e
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ jobs:
fetch-depth: 2
- name: Set up Python
id: setup-python
uses: actions/setup-python@v4
uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4
- name: Cache Poetry
id: cache-poetry
uses: actions/cache@v3
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3
with:
path: ${{ env.POETRY_HOME }}
key: poetry-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ env.POETRY_VERSION }}
Expand All @@ -37,7 +37,7 @@ jobs:
run: echo ${{ env.POETRY_HOME }}/bin >> "$GITHUB_PATH"
- name: Cache venv
id: cache-venv
uses: actions/cache@v3
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3
with:
path: .venv
key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('poetry.lock') }}
Expand All @@ -49,7 +49,7 @@ jobs:
run: poetry install --no-interaction --only-root -v
- name: Cache pre-commit hooks
id: cache-pre-commit
uses: actions/cache@v3
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3
with:
path: ~/.cache/pre-commit
key: pre-commit-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('.pre-commit-config.yaml') }}
Expand Down Expand Up @@ -78,12 +78,12 @@ jobs:
fetch-depth: 0
- name: Set up Python
id: setup-python
uses: actions/setup-python@v4
uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4
with:
python-version: ${{ matrix.python-version }}
- name: Cache Poetry
id: cache-poetry
uses: actions/cache@v3
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3
with:
path: ${{ env.POETRY_HOME }}
key: poetry-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ env.POETRY_VERSION }}
Expand All @@ -94,7 +94,7 @@ jobs:
run: echo ${{ env.POETRY_HOME }}/bin >> "$GITHUB_PATH"
- name: Cache venv
id: cache-venv
uses: actions/cache@v3
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3
with:
path: .venv
key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('poetry.lock') }}
Expand All @@ -107,7 +107,7 @@ jobs:
- name: Run pytest
run: poetry run pytest --color=yes --cov-config=pyproject.toml --with-functional
- name: Upload coverage report
uses: codecov/[email protected]
uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4
- name: Run SonarCloud scanner
uses: SonarSource/sonarcloud-github-action@4b4d7634dab97dcee0b75763a54a6dc92a9e6bc1 # v2.0.0
if: matrix.os == 'ubuntu-latest'
Expand All @@ -130,10 +130,10 @@ jobs:
fetch-depth: 0
- name: Set up Python
id: setup-python
uses: actions/setup-python@v4
uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4
- name: Cache Poetry
id: cache-poetry
uses: actions/cache@v3
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3
with:
path: ${{ env.POETRY_HOME }}
key: poetry-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ env.POETRY_VERSION }}
Expand All @@ -144,7 +144,7 @@ jobs:
run: echo ${{ env.POETRY_HOME }}/bin >> "$GITHUB_PATH"
- name: Cache venv
id: cache-venv
uses: actions/cache@v3
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3
with:
path: .venv
key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('poetry.lock') }}
Expand All @@ -171,4 +171,4 @@ jobs:
run: poetry run semantic-release publish
- name: Publish package distributions to PyPI
if: steps.bump-version.outputs.released == 'true'
uses: pypa/[email protected]
uses: pypa/gh-action-pypi-publish@b7f401de30cb6434a1e19f805ff006643653240e # v1.8.10

0 comments on commit 706342e

Please sign in to comment.