Skip to content

Commit c7ae94d

Browse files
authored
trial - use new code-style action
1 parent 7dd63d0 commit c7ae94d

File tree

1 file changed

+27
-28
lines changed

1 file changed

+27
-28
lines changed

.github/workflows/ci_cd.yml

+27-28
Original file line numberDiff line numberDiff line change
@@ -16,34 +16,33 @@ jobs:
1616
name: "Code style"
1717
runs-on: windows-latest
1818
steps:
19-
- name: "Install Git and clone project"
20-
uses: actions/checkout@v4
21-
22-
- name: "Set up Python"
23-
uses: ansys/actions/_setup-python@main
24-
with:
25-
python-version: "3.10"
26-
27-
- name: "Create virtual environment"
28-
run: |
29-
python -m pip install --upgrade pip poetry pre-commit
30-
python -m venv ./venv
31-
32-
- name: "Install project"
33-
run: |
34-
./venv/scripts/activate
35-
poetry install --extras oidc
36-
pre-commit install
37-
38-
- name: "Run pre-commit"
39-
run: |
40-
./venv/scripts/activate
41-
pre-commit run --all-files --show-diff-on-failure
42-
43-
# - uses: ansys/actions/code-style@v5.1
44-
# with:
45-
# skip-install: false
46-
# python-version: "3.10"
19+
# - name: "Install Git and clone project"
20+
# uses: actions/checkout@v4
21+
22+
# - name: "Set up Python"
23+
# uses: ansys/actions/_setup-python@main
24+
# with:
25+
# python-version: "3.10"
26+
27+
# - name: "Create virtual environment"
28+
# run: |
29+
# python -m pip install --upgrade pip poetry pre-commit
30+
# python -m venv ./venv
31+
32+
# - name: "Install project"
33+
# run: |
34+
# ./venv/scripts/activate
35+
# poetry install --extras oidc
36+
# pre-commit install
37+
38+
# - name: "Run pre-commit"
39+
# run: |
40+
# ./venv/scripts/activate
41+
# pre-commit run --all-files --show-diff-on-failure
42+
43+
- uses: ansys/actions/code-style@feat/os-independent-code-style-action
44+
with:
45+
python-version: "3.10"
4746

4847
docs-style:
4948
name: Documentation Style Check

0 commit comments

Comments
 (0)