Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 17 additions & 14 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,27 +8,30 @@ on:
workflow_dispatch:

jobs:
test:
strategy:
matrix:
go-version: [1.23.6]
os: [ubuntu-latest, macos-13]
runs-on: ${{ matrix.os }}
test-linux:
runs-on: [self-hosted, Linux, X64]
steps:
- name: Install Go
uses: actions/setup-go@v5
uses: actions/setup-go@v6
with:
go-version: ${{ matrix.go-version }}
go-version: 1.26.2
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Test (Linux)
if: runner.os == 'Linux'
- name: Test Linux
run: |
make test

- name: Test (MacOS ARM64)
if: runner.os == 'macOS'
test-macos-arm64:
runs-on: [self-hosted, macOS, ARM64]
steps:
- name: Install Go
uses: actions/setup-go@v6
with:
go-version: 1.26.2
- name: Checkout code
uses: actions/checkout@v6

- name: Test MacOS ARM64
run: |
make test-w2

6 changes: 3 additions & 3 deletions .github/workflows/code-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ jobs:
name: Build
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v5
uses: actions/setup-go@v6
with:
go-version: 1.23.6
go-version: 1.26.2
id: go

- name: Check out code into the Go module directory
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Get dependencies
run: |
Expand Down
16 changes: 7 additions & 9 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: golangci-lint

on:
push:
branches:
Expand All @@ -14,24 +15,21 @@ jobs:
name: golangci linter
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v5
- uses: actions/setup-go@v6
with:
go-version: 1.23.6
- uses: actions/checkout@v4
go-version: 1.26.2
- uses: actions/checkout@v6
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
uses: golangci/golangci-lint-action@v7
with:
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
version: v1.64.5
version: v2.12.2

# Optional: working directory, useful for monorepos
# working-directory: somedir

# Optional: golangci-lint command line arguments.
args: --timeout 10m0s --max-issues-per-linter 0 --max-same-issues 0 --print-issued-lines
args: --timeout 10m0s --max-issues-per-linter 0 --max-same-issues 0

# Optional: show only new issues if it's a pull request. The default value is `false`.
only-new-issues: true

# Optional: if set to true then the action will use pre-installed Go
# skip-go-installation: true
46 changes: 23 additions & 23 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,43 +1,43 @@
module github.com/multiversx/mx-chain-vm-go

go 1.23
go 1.26

require (
github.com/awalterschulze/gographviz v2.0.3+incompatible
github.com/btcsuite/btcd/btcec/v2 v2.3.2
github.com/btcsuite/btcd/chaincfg/chainhash v1.0.1
github.com/btcsuite/btcd/btcec/v2 v2.5.0
github.com/btcsuite/btcd/chaincfg/chainhash v1.2.0
github.com/gogo/protobuf v1.3.2
github.com/mitchellh/mapstructure v1.5.0
github.com/multiversx/mx-chain-core-go v1.4.0
github.com/multiversx/mx-chain-crypto-go v1.3.0
github.com/multiversx/mx-chain-logger-go v1.1.0
github.com/multiversx/mx-chain-scenario-go v1.6.0
github.com/multiversx/mx-chain-storage-go v1.1.0
github.com/multiversx/mx-chain-vm-common-go v1.6.0
github.com/multiversx/mx-components-big-int v1.1.0
github.com/pelletier/go-toml v1.9.3
github.com/stretchr/testify v1.8.1
github.com/urfave/cli/v2 v2.27.1
golang.org/x/crypto v0.3.0
github.com/multiversx/mx-chain-core-go v1.5.1
github.com/multiversx/mx-chain-crypto-go v1.3.2
github.com/multiversx/mx-chain-logger-go v1.2.0
github.com/multiversx/mx-chain-scenario-go v1.8.0
github.com/multiversx/mx-chain-storage-go v1.2.0
github.com/multiversx/mx-chain-vm-common-go v1.7.1
github.com/multiversx/mx-components-big-int v1.2.0
github.com/pelletier/go-toml v1.9.5
github.com/stretchr/testify v1.11.1
github.com/urfave/cli/v2 v2.27.7
golang.org/x/crypto v0.54.0
)

require (
github.com/TwiN/go-color v1.1.0 // indirect
github.com/btcsuite/btcd/btcutil v1.1.3 // indirect
github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect
github.com/TwiN/go-color v1.4.1 // indirect
github.com/btcsuite/btcd/btcutil v1.2.0 // indirect
github.com/cpuguy83/go-md2man/v2 v2.0.7 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.1 // indirect
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.4.1 // indirect
github.com/denisbrodbeck/machineid v1.0.1 // indirect
github.com/golang/protobuf v1.5.2 // indirect
github.com/hashicorp/golang-lru v0.6.0 // indirect
github.com/herumi/bls-go-binary v1.28.2 // indirect
github.com/hashicorp/golang-lru v1.0.2 // indirect
github.com/herumi/bls-go-binary v1.37.0 // indirect
github.com/kr/pretty v0.3.0 // indirect
github.com/mr-tron/base58 v1.2.0 // indirect
github.com/mr-tron/base58 v1.3.0 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/rogpeppe/go-internal v1.8.0 // indirect
github.com/russross/blackfriday/v2 v2.1.0 // indirect
github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673 // indirect
golang.org/x/sys v0.2.0 // indirect
github.com/xrash/smetrics v0.0.0-20240521201337-686a1a2994c1 // indirect
golang.org/x/sys v0.47.0 // indirect
google.golang.org/protobuf v1.28.0 // indirect
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
Expand Down
Loading
Loading