Skip to content

Commit

Permalink
Update dashboard_erigon_withdrawals.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
stdevMac authored Sep 2, 2024
1 parent ae89bed commit 9d8b56c
Showing 1 changed file with 31 additions and 9 deletions.
40 changes: 31 additions & 9 deletions .github/workflows/dashboard_erigon_withdrawals.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,33 @@ on:

jobs:
hive-run:
runs-on: ubuntu-latest
runs-on: hive
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
ref: reflow

- name: Set up Go cache directories
run: |
mkdir -p /root/.cache/go-build
mkdir -p /root/go
chmod -R 755 /root/.cache/go-build
chmod -R 755 /root/go
- name: Set Go environment variables
run: |
echo "GOCACHE=/root/.cache/go-build" >> $GITHUB_ENV
echo "GOPATH=/root/go" >> $GITHUB_ENV
echo "HOME=/root" >> $GITHUB_ENV
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: stable

cache: true
cache-dependency-path: go.sum

- name: Set up QEMU
uses: docker/setup-qemu-action@v2

Expand All @@ -29,16 +49,18 @@ jobs:

- name: Install Linux packages
run: |
sudo apt-get update
sudo apt-get install libsnappy-dev libc6-dev libc6 build-essential
sudo apt-get update
sudo apt-get install -y libsnappy-dev libc6-dev libc6 build-essential
- name: Checkout code
uses: actions/checkout@v2
with:
ref: reflow
- name: Set working directory
run: |
echo "Current directory: $(pwd)"
ls -la
- name: Download dependencies
run: go get -v ./...
run: |
go mod download
go mod tidy
- name: Build hive
run: go build -v -o hive hive.go
Expand Down

0 comments on commit 9d8b56c

Please sign in to comment.