feat: prepare for testing fraudulant blocks by allowing for custom hashers and the ability to add leaves without validation #622
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: lint | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
jobs: | |
# Runs golangci-lint over the nmt repository | |
# This workflow is run on every pull request and push to master | |
# The `golangci` job will pass without running if no *.{go, mod, sum} files have been modified. | |
golangci: | |
name: golangci-lint | |
runs-on: ubuntu-latest | |
timeout-minutes: 4 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: technote-space/get-diff-action@v4 | |
with: | |
SUFFIX_FILTER: | | |
.go | |
.mod | |
.sum | |
- uses: golangci/golangci-lint-action@v3 | |
with: | |
version: latest | |
args: --timeout 10m | |
if: env.GIT_DIFF | |
markdown-lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: celestiaorg/.github/.github/actions/markdown-lint@main |