mirror of https://github.com/snachodog/mybuddy.git
Add ID to Python setup for proper outputs handling
This commit is contained in:
parent
3d80eed562
commit
72bdc22dc6
|
@ -15,6 +15,7 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-python@v3
|
||||
id: setup-python
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
- uses: actions/cache@v3
|
||||
|
|
|
@ -19,18 +19,16 @@ jobs:
|
|||
matrix:
|
||||
language: [ 'javascript', 'python' ]
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v3
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-python@v3
|
||||
id: setup-python
|
||||
with:
|
||||
python-version: '3.x'
|
||||
- uses: actions/cache@v3
|
||||
with:
|
||||
path: ~/.local/share/virtualenvs
|
||||
key: ${{ runner.os }}-python-${{ steps.setup-python.outputs.python-version }}-pipenv-${{ hashFiles('**/requirements.txt') }}
|
||||
- name: Initialize CodeQL
|
||||
uses: github/codeql-action/init@v2
|
||||
- uses: github/codeql-action/init@v2
|
||||
with:
|
||||
config-file: ./.github/codeql/codeql-config.yml
|
||||
languages: ${{ matrix.language }}
|
||||
|
@ -39,5 +37,4 @@ jobs:
|
|||
run: |
|
||||
python -m pip install --upgrade pipenv wheel
|
||||
pipenv install
|
||||
- name: Perform CodeQL Analysis
|
||||
uses: github/codeql-action/analyze@v2
|
||||
- uses: github/codeql-action/analyze@v2
|
||||
|
|
|
@ -10,6 +10,7 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-python@v3
|
||||
id: setup-python
|
||||
with:
|
||||
python-version: '3.x'
|
||||
- uses: actions/cache@v3
|
||||
|
|
Loading…
Reference in New Issue