File tree 2 files changed +35
-5
lines changed
2 files changed +35
-5
lines changed Original file line number Diff line number Diff line change
1
+ # Copyright (c) ONNX Project Contributors
2
+ #
3
+ # SPDX-License-Identifier: Apache-2.0
4
+
5
+ # To get started with Dependabot version updates, you'll need to specify which
6
+ # package ecosystems to update and where the package manifests are located.
7
+ # Please see the documentation for all configuration options:
8
+ # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
9
+
10
+ version : 2
11
+ updates :
12
+ - package-ecosystem : " pip" # See documentation for possible values
13
+ directory : " /" # Location of package manifests
14
+ schedule :
15
+ interval : " monthly"
16
+ ignore :
17
+ # Only update them manually since updating them might break compatibility
18
+ - dependency-name : " numpy"
19
+ - dependency-name : " protobuf"
20
+ open-pull-requests-limit : 10
21
+
22
+ - package-ecosystem : " github-actions"
23
+ # Workflow files stored in the
24
+ # default location of `.github/workflows`
25
+ directory : " /"
26
+ schedule :
27
+ interval : " monthly"
28
+ open-pull-requests-limit : 20
29
+
30
+
Original file line number Diff line number Diff line change @@ -29,20 +29,20 @@ jobs:
29
29
matrix :
30
30
os : [ubuntu-20.04, windows-2019, macos-10.15]
31
31
steps :
32
- - uses : actions/checkout@v2
32
+ - uses : actions/checkout@v4
33
33
with :
34
34
submodules : recursive
35
35
- name : Build wheels
36
36
37
- - uses : actions/upload-artifact@v2
37
+ - uses : actions/upload-artifact@v4
38
38
with :
39
39
path : ./wheelhouse/*.whl
40
40
41
41
build_sdist :
42
42
name : Build source distribution
43
43
runs-on : ubuntu-latest
44
44
steps :
45
- - uses : actions/checkout@v2
45
+ - uses : actions/checkout@v4
46
46
with :
47
47
submodules : recursive
48
48
56
56
python3 -m pip install *.tar.gz
57
57
python3 -c "import onnxoptimizer; print(onnxoptimizer.get_fuse_and_elimination_passes())"
58
58
59
- - uses : actions/upload-artifact@v2
59
+ - uses : actions/upload-artifact@v4
60
60
with :
61
61
path : dist/*.tar.gz
62
62
65
65
needs : [build_wheels, build_sdist]
66
66
runs-on : ubuntu-latest
67
67
steps :
68
- - uses : actions/download-artifact@v3
68
+ - uses : actions/download-artifact@v4
69
69
with :
70
70
# unpacks default artifact into dist/
71
71
# if `name: artifact` is omitted, the action will create extra parent dir
You can’t perform that action at this time.
0 commit comments