Enhance README with Installation and Usage Sections #681
Workflow file for this run
This file contains hidden or 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: Node | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - "node/**" | |
| - ".github/workflows/node.yaml" | |
| pull_request: | |
| paths: | |
| - "build/**" | |
| - "bindings/**" | |
| - "node/**" | |
| - "ops/l2-genesis/**" | |
| - ".github/workflows/node.yaml" | |
| defaults: | |
| run: | |
| working-directory: "node" | |
| jobs: | |
| check: | |
| if: github.event.pull_request.draft == false | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Install Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: 1.22.x | |
| - name: Lint | |
| run: | | |
| rm -rf $HOME/.cache/golangci-lint | |
| make lint | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Install Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: 1.22.x | |
| - name: Run build | |
| run: make build | |
| - name: Run tests | |
| run: make test |