Skip to content

Commit 2747a14

Browse files
Merge pull request #1009 from IntelPython/add-diagonostic-clang-format
Added step to display version of clang-format used in pre-commit workflow
2 parents e02b00a + 54bcbef commit 2747a14

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/conda-package.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,9 +252,10 @@ jobs:
252252
)
253253
SET "TEST_DEPENDENCIES=pytest pytest-cov cython"
254254
conda install ${{ env.PACKAGE_NAME }}=%PACKAGE_VERSION% %TEST_DEPENDENCIES% python=${{ matrix.python }} -c ${{ env.workdir }}/channel ${{ env.CHANNELS }}
255-
- name: Report content of test environemtn
255+
- name: Report content of test environment
256256
shell: cmd /C CALL {0}
257257
run: |
258+
pip install --no-cache-dir brotli
258259
echo "Value of CONDA enviroment variable was: " %CONDA%
259260
conda list
260261
- name: Add library

.github/workflows/pre-commit.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,13 @@ on:
77

88
jobs:
99
pre-commit:
10-
runs-on: ubuntu-latest
10+
runs-on: ubuntu-20.04
1111
steps:
1212
- uses: actions/checkout@v3
1313
- uses: actions/setup-python@v4
1414
with:
1515
python-version: '3.10'
16+
- name: Version of clang-format
17+
run: |
18+
clang-format --version
1619
- uses: pre-commit/action@v3.0.0

0 commit comments

Comments
 (0)