Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/workflows/ci-pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: Pre-commit checks

on:
pull_request:
branches: "**"
push:
branches: [main]

Expand Down Expand Up @@ -36,9 +37,9 @@ jobs:
pythnet/message_buffer
pythnet/pythnet_sdk
pythnet/stake_caps_parameters
# We only save the cache from runs on `main` because the cache is ~5GB, and the total Github Cache limit is 10GB.
# Branches have their own caches, so saving this cache on PRs can result in evicting the main cache.
save-if: ${{ github.ref == 'refs/heads/main' }}
# We only save the cache from runs on `main` because the cache is ~5GB, and the total Github Cache limit is 10GB.
# Branches have their own caches, so saving this cache on PRs can result in evicting the main cache.
save-if: ${{ github.ref == 'refs/heads/main' }}
- name: Install protoc
uses: arduino/setup-protoc@v3
with:
Expand Down
Loading