Skip to content

Commit

Permalink
fix(ci): fix pre-commit and bumpversion actions
Browse files Browse the repository at this point in the history
  • Loading branch information
jlebunetel committed Feb 19, 2024
1 parent 7709267 commit f4c8bfb
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/bumpversion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
name: "Bump version and create changelog with commitizen"
steps:
- name: Check out
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
token: "${{ secrets.PERSONAL_ACCESS_TOKEN }}"
Expand Down
13 changes: 12 additions & 1 deletion .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,21 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
token: "${{ secrets.PERSONAL_ACCESS_TOKEN }}"
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Create a virtual environment
run: python -m venv venv
- name: Install test dependencies
run: |
python -m pip install \
--requirement requirements.txt \
--requirement requirements-test.txt
- name: Run pre-commit
uses: pre-commit/action@v3.0.0
with:
Expand Down

0 comments on commit f4c8bfb

Please sign in to comment.