Skip to content

Commit 856420e

Browse files
authored
Merge branch 'main' into typing-errors
2 parents 74407c0 + 342754d commit 856420e

File tree

3 files changed

+18
-15
lines changed

3 files changed

+18
-15
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636

3737
# Initializes the CodeQL tools for scanning.
3838
- name: Initialize CodeQL
39-
uses: github/codeql-action/init@v2
39+
uses: github/codeql-action/init@v3
4040
with:
4141
languages: python
4242
# languages: python, cpp
@@ -45,7 +45,7 @@ jobs:
4545
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
4646
# If this step fails, then you should remove it and run the build manually (see below).
4747
- name: Autobuild
48-
uses: github/codeql-action/autobuild@v2
48+
uses: github/codeql-action/autobuild@v3
4949

5050
# ℹ️ Command-line programs to run using the OS shell.
5151
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
@@ -59,4 +59,4 @@ jobs:
5959
# make release
6060

6161
- name: Perform CodeQL Analysis
62-
uses: github/codeql-action/analyze@v2
62+
uses: github/codeql-action/analyze@v3

.github/workflows/wheel.yaml

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ jobs:
2828

2929
- uses: pypa/[email protected]
3030

31-
- uses: actions/upload-artifact@v3
31+
- uses: actions/upload-artifact@v4
3232
with:
33-
name: wheels
33+
name: wheels-${{ matrix.os }}
3434
path: ./wheelhouse
3535

3636
build_sdist:
@@ -52,22 +52,24 @@ jobs:
5252
- name: test install
5353
run: pip install dist/numcodecs*.tar.gz
5454

55-
- uses: actions/upload-artifact@v3
55+
- uses: actions/upload-artifact@v4
5656
with:
57+
name: sdist
5758
path: dist/*.tar.gz
5859

5960
test_dist_pypi:
6061
needs: [build_wheels, build_sdist]
6162
runs-on: ubuntu-latest
6263
steps:
63-
- uses: actions/download-artifact@v3
64+
- uses: actions/download-artifact@v4
6465
with:
65-
name: artifact
66+
name: sdist
6667
path: dist
67-
- uses: actions/download-artifact@v3
68+
- uses: actions/download-artifact@v4
6869
with:
69-
name: wheels
70+
pattern: wheels-*
7071
path: dist
72+
merge-multiple: true
7173

7274
- name: test
7375
run: |
@@ -79,14 +81,15 @@ jobs:
7981
runs-on: ubuntu-latest
8082
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v')
8183
steps:
82-
- uses: actions/download-artifact@v3
84+
- uses: actions/download-artifact@v4
8385
with:
84-
name: artifact
86+
name: sdist
8587
path: dist
86-
- uses: actions/download-artifact@v3
88+
- uses: actions/download-artifact@v4
8789
with:
88-
name: wheels
90+
pattern: wheels-*
8991
path: dist
92+
merge-multiple: true
9093

9194
- uses: pypa/gh-action-pypi-publish@master
9295
with:

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ default_language_version:
77
python: python3
88
repos:
99
- repo: https://github.com/astral-sh/ruff-pre-commit
10-
rev: 'v0.4.9'
10+
rev: 'v0.4.10'
1111
hooks:
1212
- id: ruff
1313
args: ["--fix", "--show-fixes"]

0 commit comments

Comments
 (0)