diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index d3fe0267a..2bc8ceea7 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@v1 - - name: Set up Go 1.19 - uses: actions/setup-go@v2 + - name: Set up Go 1.20.0 + uses: actions/setup-go@v1 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@v1 id: cache with: path: ~/go/pkg/mod - key: ${{ runner.os }}-go-v1-${{ hashFiles('**/go.sum') }} + key: ${{ runner.os }}-go-v2-${{ hashFiles('**/go.sum') }} 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