Skip to content

Commit

Permalink
Update dashboard_erigon_engine_api.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
stdevMac authored Sep 2, 2024
1 parent 9d8b56c commit ab56684
Showing 1 changed file with 30 additions and 8 deletions.
38 changes: 30 additions & 8 deletions .github/workflows/dashboard_erigon_engine_api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,32 @@ on:

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

- 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 @@ -30,16 +50,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: refactoring-phase-2-erigon
- 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 ab56684

Please sign in to comment.