make mock
fix
#859
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: Manifest Check | |
on: | |
push: | |
branches: | |
- main | |
- 'release/**' | |
paths: | |
- 'go.mod' | |
pull_request: | |
branches: | |
- main | |
- 'release/**' | |
paths: | |
- 'go.mod' | |
types: | |
- opened | |
- reopened | |
- synchronize | |
- ready_for_review | |
workflow_dispatch: | |
jobs: | |
# check-snap-modifications: | |
# runs-on: ubuntu-24.04 | |
# outputs: | |
# modified: ${{ steps.check-modified.outputs.modified }} | |
# | |
# steps: | |
# - uses: actions/checkout@v4 | |
# with: | |
# fetch-depth: 2 # Ensures we fetch enough history to compare | |
# | |
# - name: Is erigontech/erigon-snapshot updated in go.mod # if not, pipeline should exit because grep exit code >0 when no match | |
# run: | | |
# git diff HEAD~1 HEAD -- go.mod | grep 'github.com/erigontech/erigon-snapshot' | |
ManifestCheck: | |
# needs: check-snap-modifications | |
if: github.event.pull_request.draft == false | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: '1.22' | |
- run: sudo apt update && sudo apt install build-essential | |
- run: make downloader | |
- run: echo $ModModified | |
- run: ./build/bin/downloader manifest-verify --chain mainnet | |
- run: ./build/bin/downloader manifest-verify --chain bor-mainnet | |
- run: ./build/bin/downloader manifest-verify --chain gnosis | |
- run: ./build/bin/downloader manifest-verify --chain chiado | |
- run: ./build/bin/downloader manifest-verify --chain sepolia | |
- run: ./build/bin/downloader manifest-verify --chain amoy |