From 527a113ab8a1c42cd7dfdd944004596128af7d84 Mon Sep 17 00:00:00 2001 From: dmigwi Date: Mon, 21 Aug 2023 15:14:26 +0300 Subject: [PATCH] upgrade go version from go 1.19 to go 1.20 --- .github/workflows/go.yml | 14 +++++++------- go.mod | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index d3fe0267a..abd75235e 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -6,12 +6,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out code into the Go module directory - uses: actions/checkout@v2 + uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 #v3.5.0 - - name: Set up Go 1.19 - uses: actions/setup-go@v2 + - name: Set up Go 1.20 + uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 #v3.5.0 with: - go-version: 1.19 + go-version: "1.20" id: go - name: Libraries for gio @@ -20,13 +20,13 @@ jobs: sudo apt install libwayland-dev libx11-dev libx11-xcb-dev libxkbcommon-x11-dev libgles2-mesa-dev libegl1-mesa-dev libffi-dev libxcursor-dev libvulkan-dev - name: Cache (dependencies) - uses: actions/cache@v2 + uses: actions/cache@v3 id: cache with: path: ~/go/pkg/mod - key: ${{ runner.os }}-go-v1-${{ hashFiles('**/go.sum') }} + key: ${{ runner.os }}-go-v2-${{ hashFiles('**/go.sum') }}-v2 restore-keys: | - ${{ runner.os }}-go-v1 + ${{ runner.os }}-go-v2 - name: Install linter run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.53.3 diff --git a/go.mod b/go.mod index 7c48f978d..401e3fd3b 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/crypto-power/cryptopower -go 1.19 +go 1.20.0 require ( decred.org/dcrwallet/v4 v4.0.0-20230809150859-a87fa843495e