Skip to content

Commit 68d2093

Browse files
authored
Run precommit checks in container
1 parent ff33a29 commit 68d2093

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/precommit-check.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ permissions:
77

88
jobs:
99
pre-commit:
10-
runs-on: ubuntu-24.04
1110
timeout-minutes: 10
12-
11+
runs-on: ubuntu-24.04
12+
container:
13+
image: kasperskydh/knp-build-image
14+
volumes:
15+
- ${{ github.workspace }}:/KNP
16+
options: --cpus 1
1317
steps:
1418
- uses: actions/checkout@v3
15-
- name: Set up Python
16-
uses: actions/setup-python@v3
17-
with:
18-
python-version: "3.x"
1919
- id: changed_files
2020
uses: trilom/file-changes-action@v1.2.4
2121
with:

0 commit comments

Comments
 (0)