Skip to content

Commit

Permalink
Test commit action
Browse files Browse the repository at this point in the history
  • Loading branch information
slowli committed Sep 24, 2024
1 parent 5e7f91d commit 3851152
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,28 @@ concurrency:
jobs:
build_and_test:
runs-on: ubuntu-latest
permissions:
contents: write

steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4

# FIXME: remove
- 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
if: ${{ steps.commit.outputs.commit != null }}
run: git push

- name: Install Rust
uses: dtolnay/rust-toolchain@master
with:
Expand All @@ -49,7 +67,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

0 comments on commit 3851152

Please sign in to comment.