Move block context to blob #404
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: Deployer | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- "ops/l2-genesis/**" | |
- ".github/workflows/deployer.yaml" | |
pull_request: | |
paths: | |
- "build/**" | |
- "bindings/**" | |
- "node/**" | |
- "ops/l2-genesis/**" | |
- ".github/workflows/deployer.yaml" | |
defaults: | |
run: | |
working-directory: "ops/l2-genesis" | |
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 tests | |
run: make test |