Skip to content

Commit 94fc13f

Browse files
Merge pull request #969 from IntelPython/remove-python-version-matrix-from-style-checks
[Chore] Removed use of matrix in python style check workflow jobs
2 parents 78c443b + 9185994 commit 94fc13f

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

.github/workflows/python_style_checks.yml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -27,18 +27,14 @@ jobs:
2727
# The type of runner that the job will run on
2828
runs-on: ubuntu-latest
2929

30-
strategy:
31-
matrix:
32-
python-version: ['3.10']
33-
3430
# Steps represent a sequence of tasks that will be executed as part of the job
3531
steps:
3632
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
3733
- uses: actions/checkout@v3
3834
# Set up a Python environment for use in actions
3935
- uses: actions/setup-python@v4
4036
with:
41-
python-version: ${{ matrix.python-version }}
37+
python-version: '3.10'
4238

4339
# Run black code formatter
4440
- uses: psf/black@stable
@@ -49,16 +45,12 @@ jobs:
4945
flake8:
5046
runs-on: ubuntu-latest
5147

52-
strategy:
53-
matrix:
54-
python-version: ['3.10']
55-
5648
steps:
5749
- uses: actions/checkout@v3
58-
- name: Set up Python ${{ matrix.python-version }}
50+
- name: Set up Python
5951
uses: actions/setup-python@v4
6052
with:
61-
python-version: ${{ matrix.python-version }}
53+
python-version: '3.10'
6254
- name: Install dependencies
6355
run: |
6456
python -m pip install --upgrade pip

0 commit comments

Comments
 (0)