forked from erigontech/erigon
-
Notifications
You must be signed in to change notification settings - Fork 0
84 lines (80 loc) · 2.14 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
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
jobs:
check-snap-modifications:
runs-on: ubuntu-22.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 ledgerwatch/erigon-snapshot updated in go.mod # if not, pipeline should exit beacuse grep exit code >0 when no match
run: |
git diff HEAD~1 HEAD -- go.mod | grep 'github.com/ledgerwatch/erigon-snapshot'
# ManifestCheck:
# needs: check-snap-modifications
# if: ${{ github.event_name == 'push' || !github.event.pull_request.draft }}
# strategy:
# matrix:
# os:
# - ubuntu-22.04
# runs-on: ${{ matrix.os }}
#
# steps:
# - uses: actions/checkout@v4
# - uses: actions/setup-go@v4
# with:
# go-version: '1.21'
# - name: Install dependencies on Linux
# if: runner.os == 'Linux'
# run: sudo apt update && sudo apt install build-essential
#
# - name: Build
# run: make downloader
#
# - name: mainnet webseeds
# run: |
# echo $ModModified
# ./build/bin/downloader manifest-verify --chain mainnet
#
# - name: bor-mainnet webseeds
# run: |
# ./build/bin/downloader manifest-verify --chain bor-mainnet
#
# - name: gnosis webseeds
# run: |
# ./build/bin/downloader manifest-verify --chain gnosis
#
# - name: mumbai webseeds
# run: |
# ./build/bin/downloader manifest-verify --chain mumbai
#
# - name: sepolia webseeds
# run: |
# ./build/bin/downloader manifest-verify --chain sepolia
#
# - name: chiado webseeds
# run: |
# ./build/bin/downloader manifest-verify --chain chiado
#
# - name: amoy webseeds
# run: |
# ./build/bin/downloader manifest-verify --chain amoy