Skip to content

Commit 758fb83

Browse files
committed
💚 Enable CI
1 parent efc0635 commit 758fb83

File tree

2 files changed

+15
-14
lines changed

2 files changed

+15
-14
lines changed

.github/workflows/main.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ jobs:
3030
- windows-latest
3131
runs-on: ${{matrix.runs-on}}
3232
steps:
33-
- uses: actions/checkout@v3
34-
- uses: actions/setup-python@v4
33+
- uses: actions/checkout@v4
34+
- uses: actions/setup-python@v5
3535
with:
3636
python-version: ${{env.python-version}}
3737
cache: ${{env.cache}}
@@ -44,9 +44,10 @@ jobs:
4444
- name: Test
4545
run: |
4646
pytest --cov
47-
- uses: codecov/codecov-action@v3
47+
- uses: codecov/codecov-action@v4
48+
4849
build:
49-
# needs: test
50+
needs: test
5051
strategy:
5152
fail-fast: false
5253
matrix:
@@ -56,8 +57,8 @@ jobs:
5657
- windows-latest
5758
runs-on: ${{matrix.runs-on}}
5859
steps:
59-
- uses: actions/checkout@v3
60-
- uses: actions/setup-python@v4
60+
- uses: actions/checkout@v4
61+
- uses: actions/setup-python@v5
6162
with:
6263
python-version: ${{env.python-version}}
6364
cache: ${{env.cache}}
@@ -74,12 +75,12 @@ jobs:
7475
if: runner.os == 'Linux' && startsWith(github.ref, 'refs/tags/')
7576
with:
7677
password: ${{secrets.PYPI_API_TOKEN}}
77-
- uses: actions/upload-artifact@v3
78+
- uses: actions/upload-artifact@v4
7879
if: runner.os == 'Linux' && ! startsWith(github.ref, 'refs/tags/')
7980
with:
8081
path: |
8182
dist/*
82-
- uses: softprops/action-gh-release@v1
83+
- uses: softprops/action-gh-release@v2
8384
if: runner.os == 'Linux' && startsWith(github.ref, 'refs/tags/')
8485
with:
8586
# body_path: build/CHANGELOG.md

.pre-commit-config.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ exclude: ^templates/|\.json$
33

44
repos:
55
- repo: https://github.com/pre-commit/pre-commit-hooks
6-
rev: v4.6.0
6+
rev: v5.0.0
77
hooks:
88
- id: check-added-large-files
99
- id: fix-byte-order-marker
@@ -47,15 +47,15 @@ repos:
4747
hooks:
4848
- id: check-mailmap
4949
- repo: https://github.com/rhysd/actionlint
50-
rev: v1.7.2
50+
rev: v1.7.5
5151
hooks:
5252
- id: actionlint
5353
- repo: https://github.com/adrienverge/yamllint
5454
rev: v1.35.1
5555
hooks:
5656
- id: yamllint
5757
- repo: https://github.com/executablebooks/mdformat
58-
rev: 0.7.17
58+
rev: 0.7.21
5959
hooks:
6060
- id: mdformat
6161
additional_dependencies:
@@ -69,18 +69,18 @@ repos:
6969
- mdformat-config
7070
- mdformat-web
7171
- repo: https://github.com/DavidAnson/markdownlint-cli2
72-
rev: v0.14.0
72+
rev: v0.17.0
7373
hooks:
7474
- id: markdownlint-cli2
7575
additional_dependencies:
7676
- markdown-it-texmath
7777
- repo: https://github.com/astral-sh/ruff-pre-commit
78-
rev: v0.6.7
78+
rev: v0.8.4
7979
hooks:
8080
- id: ruff
8181
- id: ruff-format
8282
- repo: https://github.com/kumaraditya303/mirrors-pyright
83-
rev: v1.1.381
83+
rev: v1.1.391
8484
hooks:
8585
- id: pyright
8686

0 commit comments

Comments
 (0)