From dce25786734c89c89d963deb16cba4c4b063a758 Mon Sep 17 00:00:00 2001 From: mrz1836 Date: Thu, 2 Jun 2022 10:25:05 -0400 Subject: [PATCH] Bump go version to 1.17 --- .github/mergify.yml | 6 +----- .github/workflows/run-tests.yml | 2 +- README.md | 2 +- go.mod | 2 +- 4 files changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/mergify.yml b/.github/mergify.yml index 8f06e9b..c934992 100644 --- a/.github/mergify.yml +++ b/.github/mergify.yml @@ -8,7 +8,6 @@ pull_request_rules: conditions: - -draft - author~=^dependabot(|-preview)\[bot\]$ - - check-success='test (1.16.x, ubuntu-latest)' - check-success='test (1.17.x, ubuntu-latest)' - check-success='Analyze (go)' - title~=^Bump [^\s]+ from ([\d]+)\..+ to \1\. @@ -21,7 +20,6 @@ pull_request_rules: - name: Alert on major version detection conditions: - author~=^dependabot(|-preview)\[bot\]$ - - check-success='test (1.16.x, ubuntu-latest)' - check-success='test (1.17.x, ubuntu-latest)' - check-success='Analyze (go)' - -title~=^Bump [^\s]+ from ([\d]+)\..+ to \1\. @@ -38,7 +36,6 @@ pull_request_rules: - "#approved-reviews-by>=1" - "#review-requested=0" - "#changes-requested-reviews-by=0" - - check-success='test (1.16.x, ubuntu-latest)' - check-success='test (1.17.x, ubuntu-latest)' - check-success='Analyze (go)' - -title~=(?i)wip @@ -175,8 +172,7 @@ pull_request_rules: - author!=jadwahab actions: comment: - message: | - Welcome to our open-source project! 💘 + message: Welcome to our open-source project! 💘 # =============================================================================== # STALE BRANCHES diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index ed29285..045b9f8 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -17,7 +17,7 @@ jobs: test: strategy: matrix: - go-version: [ 1.16.x, 1.17.x ] + go-version: [ 1.17.x ] os: [ ubuntu-latest ] runs-on: ${{ matrix.os }} steps: diff --git a/README.md b/README.md index 2b9d528..b4bfd3d 100644 --- a/README.md +++ b/README.md @@ -125,7 +125,7 @@ vet Run the Go vet application ## Examples & Tests All unit tests and [examples](examples) run via [Github Actions](https://github.com/tonicpow/go-bsvrates/actions) and -uses [Go version 1.16.x](https://golang.org/doc/go1.16). View the [configuration file](.github/workflows/run-tests.yml). +uses [Go version 1.17.x](https://golang.org/doc/go1.17). View the [configuration file](.github/workflows/run-tests.yml). Run all tests (including integration tests) ```shell script diff --git a/go.mod b/go.mod index b3c3b27..df0d1e7 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/tonicpow/go-bsvrates -go 1.16 +go 1.17 require ( github.com/centrifugal/protocol v0.8.7 // indirect