Skip to content

Commit 4e926d3

Browse files
authored
Merge branch 'master' into patch-1
Signed-off-by: Andreas Fehlner <[email protected]>
2 parents 6a96457 + 7415fee commit 4e926d3

File tree

2 files changed

+35
-5
lines changed

2 files changed

+35
-5
lines changed

.github/dependabot.yml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
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+

.github/workflows/build-and-test.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -29,20 +29,20 @@ jobs:
2929
matrix:
3030
os: [ubuntu-20.04, windows-2019, macos-10.15]
3131
steps:
32-
- uses: actions/checkout@v2
32+
- uses: actions/checkout@v4
3333
with:
3434
submodules: recursive
3535
- name: Build wheels
3636
uses: pypa/[email protected]
37-
- uses: actions/upload-artifact@v2
37+
- uses: actions/upload-artifact@v4
3838
with:
3939
path: ./wheelhouse/*.whl
4040

4141
build_sdist:
4242
name: Build source distribution
4343
runs-on: ubuntu-latest
4444
steps:
45-
- uses: actions/checkout@v2
45+
- uses: actions/checkout@v4
4646
with:
4747
submodules: recursive
4848

@@ -56,7 +56,7 @@ jobs:
5656
python3 -m pip install *.tar.gz
5757
python3 -c "import onnxoptimizer; print(onnxoptimizer.get_fuse_and_elimination_passes())"
5858
59-
- uses: actions/upload-artifact@v2
59+
- uses: actions/upload-artifact@v4
6060
with:
6161
path: dist/*.tar.gz
6262

@@ -65,7 +65,7 @@ jobs:
6565
needs: [build_wheels, build_sdist]
6666
runs-on: ubuntu-latest
6767
steps:
68-
- uses: actions/download-artifact@v3
68+
- uses: actions/download-artifact@v4
6969
with:
7070
# unpacks default artifact into dist/
7171
# if `name: artifact` is omitted, the action will create extra parent dir

0 commit comments

Comments
 (0)