We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e7a7629 commit 4ce17a9Copy full SHA for 4ce17a9
.github/actions/setup-python-and-git/action.yaml
@@ -0,0 +1,23 @@
1
+name: checkout-and-setup-python
2
+description: 'Checkout the repository and setup Python'
3
+inputs:
4
+ python-version:
5
+ description: 'Python version to use'
6
+ required: false
7
+ default: '3.11'
8
+runs:
9
+ using: 'composite'
10
+ steps:
11
+ - uses: actions/setup-python@v4
12
+ name: Setup Python
13
+ with:
14
+ python-version: ${{ inputs.python-version }}
15
+ cache: 'pip' # caching pip dependencies
16
+
17
+ - name: Git check
18
+ run: |
19
+ git config --global user.email "[email protected]"
20
+ git config --global user.name "Testing Git"
21
+ git --version
22
+ git config --list
23
+ shell: bash
0 commit comments