-
Notifications
You must be signed in to change notification settings - Fork 1.2k
55 lines (52 loc) · 1.6 KB
/
manifest.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
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