Skip to content

Commit

Permalink
ci(protocol): avoid installing netcat in action (#18159)
Browse files Browse the repository at this point in the history
  • Loading branch information
mask-pp authored Sep 23, 2024
1 parent 53d8342 commit 7e27d1d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 17 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/protocol.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:

- name: Prepare environment
continue-on-error: true
run: sudo apt-get update && sudo apt-get install -y git netcat wget
run: sudo apt-get update && sudo apt-get install -y git wget

- name: Checkout repository
uses: actions/checkout@v4
Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:
timeout-minutes: 2
run: |
anvil --hardfork cancun &
while ! nc -z localhost 8545; do
until cast chain-id --rpc-url "http://localhost:8545" 2> /dev/null; do
sleep 1
done
pnpm test:deploy:l1
Expand Down
19 changes: 4 additions & 15 deletions packages/taiko-client/.golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,10 @@
run:
timeout: 20m
tests: true
skip-dirs-use-default: true
skip-files:
- bindings/gen_taiko_l1.go
- bindings/gen_taiko_l2.go
- bindings/encoding/struct.go

issues:
# List of regexps of issue texts to exclude.
#
# But independently of this option we use default exclude patterns,
# it can be disabled by `exclude-use-default: false`.
# To list all excluded by default patterns execute `golangci-lint run --help`
#
# Default: https://golangci-lint.run/usage/false-positives/#default-exclusions
exclude:
- abcdef
exclude-dirs:
- bindings

linters:
disable-all: true
Expand All @@ -43,7 +31,8 @@ linters:
- makezero
- misspell
- misspell
- megacheck
- gosimple
- staticcheck
- revive
- staticcheck
- sqlclosecheck
Expand Down

0 comments on commit 7e27d1d

Please sign in to comment.