Skip to content

Commit 3211b06

Browse files
authored
chore: (partially) resume pre-commit CI action (#2463)
Summary Partially resume pre-commit CI. The problem is that a dependency of the pythnet_sdk has updated so that it now requires a newer rust version. Upgrading our rust version causes other problems however. The right fix to this is probably to add a Cargo.lock file (but I don't have one unfortunately). Luckily the failure happens in the test package, so as a temporary stopgap turn off the test part of the clippy check.
1 parent bb022a9 commit 3211b06

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/ci-pre-commit.yml

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: Pre-commit checks
22

33
on:
4+
pull_request:
5+
branches: "**"
46
push:
57
branches: [main]
68

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ repos:
110110
- id: cargo-clippy-pythnet-sdk
111111
name: Cargo clippy for pythnet SDK
112112
language: "rust"
113-
entry: cargo +1.82.0 clippy --manifest-path ./pythnet/pythnet_sdk/Cargo.toml --tests -- --deny warnings
113+
entry: cargo +1.82.0 clippy --manifest-path ./pythnet/pythnet_sdk/Cargo.toml -- --deny warnings
114114
pass_filenames: false
115115
files: pythnet/pythnet_sdk
116116
# Hooks for solana receiver contract

0 commit comments

Comments
 (0)