diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index 36a08198..95a184ce 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -14,15 +14,15 @@ jobs: name: golangci linter runs-on: ubuntu-latest steps: - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v5 with: - go-version: 1.20.7 - - uses: actions/checkout@v3 + go-version: 1.22.4 + - uses: actions/checkout@v4 - name: golangci-lint - uses: golangci/golangci-lint-action@v3 + uses: golangci/golangci-lint-action@v6 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 + version: v1.59.1 # Optional: working directory, useful for monorepos # working-directory: somedir diff --git a/.github/workflows/pr-tests.yml b/.github/workflows/pr-tests.yml index 266bf171..e46d0901 100644 --- a/.github/workflows/pr-tests.yml +++ b/.github/workflows/pr-tests.yml @@ -12,14 +12,14 @@ jobs: name: Unit runs-on: ubuntu-latest steps: - - name: Set up Go 1.20.7 - uses: actions/setup-go@v3 + - name: Set up Go 1.22.4 + uses: actions/setup-go@v5 with: - go-version: 1.20.7 + go-version: 1.22.4 id: go - name: Check out code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Get dependencies run: | diff --git a/go.mod b/go.mod index 26892ac4..c62de5da 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/multiversx/mx-chain-core-go -go 1.20 +go 1.22 require ( github.com/btcsuite/btcd/btcutil v1.1.3