Skip to content

Commit f656fca

Browse files
committed
correct workflow
1 parent c4487de commit f656fca

File tree

1 file changed

+28
-28
lines changed

1 file changed

+28
-28
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -40,34 +40,34 @@ jobs:
4040
# Prefix the list here with "+" to use these queries and those in the config file.
4141
# queries: ./path/to/local/query, your-org/your-repo/queries@main
4242

43-
- name: setup python environment
44-
id: setup-python
45-
uses: actions/setup-python@v2
46-
with:
47-
python-version: "3.8"
48-
49-
- name: install Poetry
50-
uses: snok/install-poetry@v1
51-
with:
52-
virtualenvs-create: true
53-
virtualenvs-in-project: true
54-
installer-parallel: true
55-
56-
- run: pip install poetry-dynamic-versioning
57-
58-
- name: Load cached venv
59-
id: cached-poetry-dependencies
60-
uses: actions/cache@v2
61-
with:
62-
path: .venv
63-
key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
64-
65-
- name: Install dependencies
66-
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
67-
run: poetry install --no-interaction --no-root
68-
69-
- name: install robotcode
70-
run: poetry install --no-interaction
43+
- name: setup python environment
44+
id: setup-python
45+
uses: actions/setup-python@v2
46+
with:
47+
python-version: "3.8"
48+
49+
- name: install Poetry
50+
uses: snok/install-poetry@v1
51+
with:
52+
virtualenvs-create: true
53+
virtualenvs-in-project: true
54+
installer-parallel: true
55+
56+
- run: pip install poetry-dynamic-versioning
57+
58+
- name: Load cached venv
59+
id: cached-poetry-dependencies
60+
uses: actions/cache@v2
61+
with:
62+
path: .venv
63+
key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
64+
65+
- name: Install dependencies
66+
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
67+
run: poetry install --no-interaction --no-root
68+
69+
- name: install robotcode
70+
run: poetry install --no-interaction
7171

7272

7373
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).

0 commit comments

Comments
 (0)