Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Sign commits in release branch #68

Closed
Show file tree
Hide file tree
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
26 changes: 25 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,30 @@ concurrency:
cancel-in-progress: true

jobs:
# FIXME: remove
test_commits:
runs-on: ubuntu-latest
permissions:
contents: write

steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
with:
ref: ${{ github.head_ref }}
- run: |
echo 'Test' > test.txt
git add test.txt
- name: Test signed commits
uses: qoomon/[email protected]
id: commit
with:
token: ${{ secrets.GITHUB_TOKEN }}
message: "Test commit"

- name: Push commit
run: git push

build_and_test:
runs-on: ubuntu-latest

Expand Down Expand Up @@ -49,7 +73,7 @@ jobs:
run: |
# Check the main library with non-test features (needs to be tested in isolation since the fuzzing crate enables test features)
cargo clippy -p zksync_vm2 --all-targets -- -D warnings
# The benches in `vm2` don't compile with fuzzing enabled
# The benches in `vm2` don't compile with fuzzing enabled
cargo clippy --workspace --all-features --lib --bins --tests -- -D warnings
- name: Check formatting
Expand Down
1 change: 1 addition & 0 deletions test.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Test