Add functionality for generating deposit data #15
Workflow file for this run
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
--- | |
name: "Deno" | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
name: "build" | |
runs-on: "ubuntu-latest" | |
steps: | |
- id: "checkout" | |
name: "Checkout code" | |
uses: actions/checkout@v4 | |
- id: "setup" | |
name: "Setup Deno" | |
uses: denoland/setup-deno@v1 | |
with: | |
deno-version: v1.37.x | |
- id: "build" | |
name: "Verify formatting" | |
run: deno compile --unstable -A ./bin/ethereum-deposit-cli.ts | |
test: | |
name: "test" | |
needs: "build" | |
runs-on: "ubuntu-latest" | |
steps: | |
- id: "checkout" | |
name: "Checkout code" | |
uses: actions/checkout@v4 | |
- id: "install_deps" | |
name: "Install dependencies" | |
run: sudo apt-get update && sudo apt-get install -y build-essential libssl-dev | |
- id: "setup" | |
name: "Setup Deno" | |
uses: denoland/setup-deno@v1 | |
with: | |
deno-version: v1.37.x | |
- id: "test" | |
name: "Run tests" | |
run: deno test -A | |
lint: | |
name: "lint" | |
needs: "build" | |
runs-on: "ubuntu-latest" | |
steps: | |
- id: "checkout" | |
name: "Checkout code" | |
uses: actions/checkout@v4 | |
- id: "setup" | |
name: "Setup Deno" | |
uses: denoland/setup-deno@v1 | |
with: | |
deno-version: v1.37.x | |
- id: "check_fmt" | |
name: "Verify formatting" | |
run: deno fmt --check | |
- id: "lint" | |
name: "Run linter" | |
run: deno lint |