Skip to content

Commit a6239ce

Browse files
committed
chore: upgrade edition to 2024
1 parent ee825d7 commit a6239ce

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+288
-288
lines changed

.github/workflows/rust.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
if: github.event_name == 'push' || github.event_name == 'schedule' || github.event.pull_request.head.repo.full_name != github.repository
2424
strategy:
2525
matrix:
26-
rust: [stable, nightly, "1.84"] # 1.84 is the MSRV
26+
rust: [stable, nightly, "1.85"] # 1.85 is the MSRV
2727
os: [ubuntu-latest, macos-latest, windows-latest]
2828

2929
name: Build & test

.pre-commit-config.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,15 @@ repos:
2424
hooks:
2525
- id: yamlfmt
2626
types_or: [json, yaml]
27-
- repo: https://github.com/seqre/pre-commit-rust
28-
rev: v0.1.0
27+
- repo: local
2928
hooks:
3029
- id: fmt
30+
name: cargo fmt
31+
files: ^.*\.(rs|toml)$
3132
exclude: ^cot-cli/src/project_template/
33+
language: rust
34+
entry: cargo fmt
35+
pass_filenames: false
3236
- repo: https://github.com/instrumentl/pre-commit-just
3337
rev: v0.1
3438
hooks:

0 commit comments

Comments
 (0)