Skip to content

Commit a89462c

Browse files
authored
Merge branch 'main' into prices_fix
2 parents d40d69c + 878534f commit a89462c

24 files changed

Lines changed: 201 additions & 54 deletions

.github/workflows/auto-merge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Enable auto-merge for bot PRs
1616
run: |
1717
gh pr review --approve "$PR_URL"
18-
gh pr merge --auto --merge "$PR_URL"
18+
gh pr merge --auto --rebase "$PR_URL"
1919
env:
2020
PR_URL: ${{github.event.pull_request.html_url}}
2121
# GitHub provides this variable in the CI env. You don't

.github/workflows/cargo-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
cargo test --verbose --no-fail-fast
3131
3232
# Upload regression test results for analysis
33-
- uses: actions/upload-artifact@v6
33+
- uses: actions/upload-artifact@v7
3434
if: "!cancelled()"
3535
with:
3636
name: muse2_test_results_${{ matrix.os }}

.github/workflows/check-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ jobs:
1919
id: lychee
2020
uses: lycheeverse/lychee-action@v2
2121
with:
22-
args: "--verbose --no-progress --accept 200,203,503 --exclude-path ^target './**/*.md' './**/*.html'"
22+
args: "--verbose --no-progress --accept 200,203,503 --exclude-path ^target --exclude-path ^book/404.html$ './**/*.md' './**/*.html'"
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Pre-commit auto-update
2+
3+
on:
4+
schedule:
5+
- cron: 0 0 * * 1 # midnight every Monday
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: write
10+
pull-requests: write
11+
12+
jobs:
13+
auto-update:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v6
17+
with:
18+
persist-credentials: false
19+
- uses: actions/setup-python@v5
20+
- uses: browniebroke/pre-commit-autoupdate-action@main
21+
- uses: peter-evans/create-pull-request@v7
22+
with:
23+
token: ${{ secrets.GH_TOKEN_FOR_UPDATES }}
24+
branch: update/pre-commit-hooks
25+
title: Update pre-commit hooks
26+
commit-message: "chore: update pre-commit hooks"
27+
body: Update versions of pre-commit hooks to latest version.

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
cp target/release/muse2${{ matrix.exe_suffix }} muse2
4949
cp LICENSE muse2/LICENCE.txt
5050
cp assets/readme/readme_${{ matrix.osname }}.txt muse2/README.txt
51-
- uses: actions/upload-artifact@v6
51+
- uses: actions/upload-artifact@v7
5252
if: ${{ github.event_name != 'release' }}
5353
with:
5454
name: muse2_${{ matrix.osname }}

.github/workflows/update-rust-toolchain.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
with:
1515
persist-credentials: false
1616
- name: update rust toolchain
17-
uses: a-kenji/update-rust-toolchain@v1
17+
uses: a-kenji/update-rust-toolchain@v1.1
1818
with:
1919
toolchain-path: ./rust-toolchain.toml
2020
token: ${{ secrets.GH_TOKEN_FOR_UPDATES }}

.lycheeignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# For some reason these spurious links appear in some cargo doc-generated files
22
^file://.+/MUSE2/book/api/index\.html$
33

4+
# Some of these links give a 404, even though they're generated in the API docs. No idea why.
5+
^https://docs.rs/erased-serde/
6+
47
# Times out on GitHub runner
58
^http://www.adobe.com
69

.pre-commit-config.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
exclude: ^schemas/table-schema.json$
22
repos:
33
- repo: https://github.com/pre-commit/pre-commit-hooks
4-
rev: v4.5.0
4+
rev: v6.0.0
55
hooks:
66
- id: check-merge-conflict
77
- id: trailing-whitespace
88
- id: end-of-file-fixer
99
- repo: https://github.com/python-jsonschema/check-jsonschema
10-
rev: 0.33.2
10+
rev: 0.37.0
1111
hooks:
1212
- id: check-dependabot
1313
- id: check-github-actions
@@ -31,16 +31,16 @@ repos:
3131
files: /settings\.toml$
3232
types_or: [toml]
3333
- repo: https://github.com/igorshubovych/markdownlint-cli
34-
rev: v0.38.0
34+
rev: v0.47.0
3535
hooks:
3636
- id: markdownlint-fix
3737
- repo: https://github.com/pre-commit/mirrors-prettier
38-
rev: "v3.1.0"
38+
rev: "v4.0.0-alpha.8"
3939
hooks:
4040
- id: prettier
4141
types_or: [yaml, json]
4242
- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
43-
rev: v2.13.0
43+
rev: v2.16.0
4444
hooks:
4545
- id: pretty-format-toml
4646
args: [--autofix, --indent, "4", --no-sort]
@@ -53,19 +53,19 @@ repos:
5353
- id: clippy
5454
args: ["--all-targets", "--", "-D", "warnings"]
5555
- repo: https://github.com/astral-sh/ruff-pre-commit
56-
rev: v0.11.6
56+
rev: v0.15.4
5757
hooks:
58-
- id: ruff
58+
- id: ruff-check
5959
types_or: [python]
6060
args: [--fix]
6161
- id: ruff-format
6262
types_or: [python]
6363
- repo: https://github.com/kynan/nbstripout
64-
rev: 0.8.1
64+
rev: 0.9.1
6565
hooks:
6666
- id: nbstripout
6767
- repo: https://github.com/codespell-project/codespell
68-
rev: v2.2.6
68+
rev: v2.4.1
6969
hooks:
7070
- id: codespell
7171
args: [--ignore-words, .codespell_ignore.txt]

Cargo.lock

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ float-cmp = "0.10.0"
1919
itertools = "0.14.0"
2020
serde = {version = "1.0.228", features = ["derive", "rc"]}
2121
serde_string_enum = "0.2.1"
22-
tempfile = "3.25.0"
22+
tempfile = "3.26.0"
2323
toml = "1.0.3"
2424
unicase = "2.9.0"
2525
fern = {version = "0.7.1", features = ["chrono", "colored"]}

0 commit comments

Comments
 (0)