File tree Expand file tree Collapse file tree 1 file changed +12
-11
lines changed Expand file tree Collapse file tree 1 file changed +12
-11
lines changed Original file line number Diff line number Diff line change 6
6
pull_request :
7
7
8
8
jobs :
9
- test-production :
9
+ linting :
10
10
runs-on : ubuntu-20.04
11
-
12
11
steps :
13
12
- uses : actions/checkout@v3
14
13
@@ -17,20 +16,22 @@ jobs:
17
16
with :
18
17
python-version : " 3.x"
19
18
20
- - name : Install development dependencies
21
- run : |
22
- pip install pre-commit==2.20.0
23
-
24
19
- name : Apply pre-commit
25
- run : |
26
- pre-commit run --all-files
20
+ uses : pre-commit/action@v3.0.0
21
+ with :
22
+ extra_args : --all-files
23
+
24
+ test-production :
25
+ runs-on : ubuntu-20.04
26
+ container :
27
+ image : xmba15/onnx_runtime_cpp:v1.10.0-ubuntu20.04
28
+
29
+ steps :
30
+ - uses : actions/checkout@v3
27
31
28
32
- name : Setup environment
29
33
run : |
30
34
sudo apt-get update
31
- sudo apt-get install -y --no-install-recommends software-properties-common build-essential
32
- bash ./scripts/install_latest_cmake.bash
33
- bash ./scripts/install_onnx_runtime.bash
34
35
bash ./scripts/install_apps_dependencies.bash
35
36
36
37
- name : Test building
You can’t perform that action at this time.
0 commit comments