-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: CI add deno formatting (#1172)
* Add deno formatting in CI * Adds step to install unzip needed by deno github action * Run deno formatting * Rename deno formatting job * Install zip * Remove zip install --------- Co-authored-by: greged93 <[email protected]>
- Loading branch information
Showing
4 changed files
with
29 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
name: Format indexer | ||
|
||
on: | ||
workflow_call: | ||
|
||
jobs: | ||
deno-formatting: | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 5 | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
sparse-checkout: indexer | ||
- uses: denoland/setup-deno@v1 | ||
with: | ||
deno-version: vx.x.x | ||
- name: Run formatting | ||
run: deno fmt --check indexer/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,12 +44,12 @@ export { | |
bigIntToHex, | ||
bytesToBigInt, | ||
bytesToHex, | ||
bytesToInt, | ||
concatBytes, | ||
generateAddress, | ||
hexToBytes, | ||
intToHex, | ||
stripHexPrefix, | ||
bytesToInt, | ||
} from "https://esm.sh/@ethereumjs/[email protected]"; | ||
export type { PrefixedHexString } from "https://esm.sh/@ethereumjs/[email protected]"; | ||
|
||
|