-
Notifications
You must be signed in to change notification settings - Fork 157
fix(l1,l2): make l2 integration tests and lint required #5142
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -4,13 +4,6 @@ on: | |||||
| branches: ["main"] | ||||||
| pull_request: | ||||||
| branches: ["**"] | ||||||
| paths: | ||||||
| - "crates/l2/**" | ||||||
| - "fixtures/**" | ||||||
| - "crates/blockchain/dev/**" | ||||||
| - "crates/vm/levm/**" | ||||||
| - ".github/workflows/pr-main_l2.yaml" | ||||||
| - "cmd/ethrex/l2/**" | ||||||
|
|
||||||
| permissions: | ||||||
| contents: read | ||||||
|
|
@@ -24,10 +17,40 @@ env: | |||||
| DOCKER_ETHREX_WORKDIR: /usr/local/bin | ||||||
|
|
||||||
| jobs: | ||||||
| detect-changes: | ||||||
| runs-on: ubuntu-latest | ||||||
| outputs: | ||||||
| run_tests: ${{ steps.finish.outputs.run_tests }} | ||||||
| steps: | ||||||
| - uses: actions/checkout@v4 | ||||||
| - uses: dorny/paths-filter@v3 | ||||||
| id: filter | ||||||
| with: | ||||||
| filters: | | ||||||
| run_tests: | ||||||
| - "crates/l2/**" | ||||||
| - "fixtures/**" | ||||||
| - "crates/blockchain/dev/**" | ||||||
| - "crates/vm/levm/**" | ||||||
| - ".github/workflows/pr-main_l2.yaml" | ||||||
| - "cmd/ethrex/l2/**" | ||||||
| - name: finish | ||||||
| id: finish | ||||||
| run: | | ||||||
| if [[ "${GITHUB_EVENT_NAME}" != "pull_request" ]]; then | ||||||
|
||||||
| if [[ "${GITHUB_EVENT_NAME}" != "pull_request" ]]; then | |
| if [[ "$GITHUB_EVENT_NAME" != "pull_request" ]]; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The environment variable should be
$GITHUB_EVENT_NAMEinstead of${GITHUB_EVENT_NAME}. While both syntaxes work in bash, GitHub Actions sets this asGITHUB_EVENT_NAMEand the standard pattern in GitHub Actions is to use the$GITHUB_EVENT_NAMEsyntax for consistency with GitHub Actions documentation.