Skip to content

Commit

Permalink
test: only build on mac
Browse files Browse the repository at this point in the history
  • Loading branch information
darrenvechain committed Jun 12, 2024
1 parent cae7539 commit 845fd51
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/on-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
include:
- os: macos-latest
goos: darwin
goarch: amd64
goarch: arm64
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
Expand All @@ -32,7 +32,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.21.x
go-version: 1.22.x

- name: Build binary
env:
Expand Down
5 changes: 2 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
module github.com/vechain/networkhub

go 1.22

replace github.com/syndtr/goleveldb => github.com/vechain/goleveldb v1.0.1-0.20220809091043-51eb019c8655

replace github.com/ethereum/go-ethereum => github.com/vechain/go-ethereum v1.8.15-0.20240308194045-2f457f0512c5
Expand All @@ -9,7 +11,6 @@ require (
github.com/spf13/cobra v1.8.0
github.com/stretchr/testify v1.9.0
github.com/vechain/thor/v2 v2.1.2-0.20240502163859-34dbe10a5c97

)

require (
Expand Down Expand Up @@ -43,5 +44,3 @@ require (
gopkg.in/karalabe/cookiejar.v2 v2.0.0-20150724131613-8dcd6a7f4951 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)

go 1.21

0 comments on commit 845fd51

Please sign in to comment.