Skip to content

Commit

Permalink
Merge pull request #41 from multiversx/go-mod-update
Browse files Browse the repository at this point in the history
New go definition in go.mod (v1.20)
  • Loading branch information
iulianpascalau authored Aug 17, 2023
2 parents 77055cc + dab4701 commit 678b53c
Show file tree
Hide file tree
Showing 4 changed files with 120 additions and 209 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
name: Build and run tests

on:
push:
branches:
- master
pull_request:
branches: [ master, rc/*, feat/* ]
types: [ opened, ready_for_review ]
push:
workflow_dispatch:

jobs:
test:
strategy:
matrix:
go-version: [1.17.6]
go-version: [1.20.7]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
Expand All @@ -22,6 +23,4 @@ jobs:
uses: actions/checkout@v2
- name: Test
run: |
export ARWEN_PATH=${GITHUB_WORKSPACE}/Arwen/arwen
mkdir ${GITHUB_WORKSPACE}/Arwen
make test
38 changes: 38 additions & 0 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: golangci-lint

on:
push:
branches:
- master
pull_request:
branches: [ master, feat/*, rc/* ]

permissions:
contents: read

jobs:
golangci:
name: golangci linter
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v3
with:
go-version: 1.20.7
- uses: actions/checkout@v3
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
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.53.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

# 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
49 changes: 25 additions & 24 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,55 +1,56 @@
module github.com/multiversx/mx-chain-vm-v1_3-go

go 1.17
go 1.20

require (
github.com/btcsuite/btcd/btcec/v2 v2.2.0
github.com/btcsuite/btcd/chaincfg/chainhash v1.0.1
github.com/gin-gonic/gin v1.9.0
github.com/gin-gonic/gin v1.9.1
github.com/gogo/protobuf v1.3.2
github.com/golang/protobuf v1.5.2
github.com/mitchellh/mapstructure v1.4.1
github.com/multiversx/mx-chain-core-go v1.2.6
github.com/multiversx/mx-chain-crypto-go v1.2.6
github.com/multiversx/mx-chain-logger-go v1.0.11
github.com/multiversx/mx-chain-vm-common-go v1.5.0
github.com/multiversx/mx-components-big-int v0.1.1
github.com/multiversx/mx-chain-core-go v1.2.13
github.com/multiversx/mx-chain-crypto-go v1.2.8
github.com/multiversx/mx-chain-logger-go v1.0.13
github.com/multiversx/mx-chain-vm-common-go v1.5.2
github.com/multiversx/mx-components-big-int v1.0.0
github.com/pelletier/go-toml v1.9.3
github.com/stretchr/testify v1.8.1
github.com/stretchr/testify v1.8.3
github.com/urfave/cli v1.22.5
golang.org/x/crypto v0.5.0
golang.org/x/crypto v0.9.0
)

require (
github.com/bytedance/sonic v1.8.0 // indirect
github.com/bytedance/sonic v1.9.1 // indirect
github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311 // indirect
github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.1 // indirect
github.com/denisbrodbeck/machineid v1.0.1 // indirect
github.com/gabriel-vasile/mimetype v1.4.2 // indirect
github.com/gin-contrib/sse v0.1.0 // indirect
github.com/go-playground/locales v0.14.1 // indirect
github.com/go-playground/universal-translator v0.18.1 // indirect
github.com/go-playground/validator/v10 v10.11.2 // indirect
github.com/goccy/go-json v0.10.0 // indirect
github.com/herumi/bls-go-binary v1.0.0 // indirect
github.com/go-playground/validator/v10 v10.14.0 // indirect
github.com/goccy/go-json v0.10.2 // indirect
github.com/herumi/bls-go-binary v1.28.2 // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/klauspost/cpuid/v2 v2.0.9 // indirect
github.com/leodido/go-urn v1.2.1 // indirect
github.com/mattn/go-isatty v0.0.17 // indirect
github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421 // indirect
github.com/klauspost/cpuid/v2 v2.2.4 // indirect
github.com/leodido/go-urn v1.2.4 // indirect
github.com/mattn/go-isatty v0.0.19 // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/mr-tron/base58 v1.2.0 // indirect
github.com/pelletier/go-toml/v2 v2.0.6 // indirect
github.com/pelletier/go-toml/v2 v2.0.8 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/russross/blackfriday/v2 v2.0.1 // indirect
github.com/shurcooL/sanitized_anchor_name v1.0.0 // indirect
github.com/twitchyliquid64/golang-asm v0.15.1 // indirect
github.com/ugorji/go/codec v1.2.9 // indirect
golang.org/x/arch v0.0.0-20210923205945-b76863e36670 // indirect
golang.org/x/net v0.7.0 // indirect
golang.org/x/sys v0.5.0 // indirect
golang.org/x/text v0.7.0 // indirect
google.golang.org/protobuf v1.28.1 // indirect
github.com/ugorji/go/codec v1.2.11 // indirect
golang.org/x/arch v0.3.0 // indirect
golang.org/x/net v0.10.0 // indirect
golang.org/x/sys v0.8.0 // indirect
golang.org/x/text v0.9.0 // indirect
google.golang.org/protobuf v1.30.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
Loading

0 comments on commit 678b53c

Please sign in to comment.