Skip to content
This repository has been archived by the owner on Oct 9, 2022. It is now read-only.

Commit

Permalink
use bitnami/git:2 to use git version > 2.20 for actions/checkout@v3 s…
Browse files Browse the repository at this point in the history
  • Loading branch information
marshall7m committed May 25, 2022
1 parent 5ab97fd commit a965172
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,25 +28,20 @@ env:
jobs:
precommit:
runs-on: ubuntu-latest
container: python:3.9-slim-buster
container: bitnami/git:2
steps:
- uses: actions/checkout@v3

- name: Hooks
shell: bash
run: |
apt-get -y update
apt-get -y install --no-install-recommends git
apt-get -y install --no-install-recommends python3-pip
python3 -m pip install --upgrade pip
python3 -m pip install pre-commit
echo $PWD
echo "parent dir"
ls -a ../
echo "cwd"
ls -a
pre-commit install || cat /github/home/.cache/pre-commit/pre-commit.log
pre-commit install
pre-commit run --all-files
unit:
Expand Down
2 changes: 0 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
pre-commit==2.9.3

pytest==6.2.5
mock==4.0.3
pytest-mock==3.6.1
Expand Down

0 comments on commit a965172

Please sign in to comment.