From 65d0653d114017a6bfc5114f36ecb2fbda0c861a Mon Sep 17 00:00:00 2001 From: mrz1836 Date: Wed, 6 Jul 2022 12:03:11 -0400 Subject: [PATCH] Using new go version 1.18 --- .github/mergify.yml | 6 +++--- .github/workflows/release.yml | 2 +- .github/workflows/run-tests.yml | 2 +- README.md | 2 +- transports/config.go | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/mergify.yml b/.github/mergify.yml index c9cd746..8c41e11 100644 --- a/.github/mergify.yml +++ b/.github/mergify.yml @@ -8,7 +8,7 @@ pull_request_rules: conditions: - -draft - author~=^dependabot(|-preview)\[bot\]$ - - check-success='test (1.17.x, ubuntu-latest)' + - check-success='test (1.18.x, ubuntu-latest)' - check-success='Analyze (go)' - title~=^Bump [^\s]+ from ([\d]+)\..+ to \1\. actions: @@ -20,7 +20,7 @@ pull_request_rules: - name: Alert on major version detection conditions: - author~=^dependabot(|-preview)\[bot\]$ - - check-success='test (1.17.x, ubuntu-latest)' + - check-success='test (1.18.x, ubuntu-latest)' - check-success='Analyze (go)' - -title~=^Bump [^\s]+ from ([\d]+)\..+ to \1\. actions: @@ -36,7 +36,7 @@ pull_request_rules: - "#approved-reviews-by>=1" - "#review-requested=0" - "#changes-requested-reviews-by=0" - - check-success='test (1.17.x, ubuntu-latest)' + - check-success='test (1.18.x, ubuntu-latest)' - check-success='Analyze (go)' - -title~=(?i)wip - label!=work-in-progress diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 52f3e14..6952ded 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,7 +23,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v3.2.0 with: - go-version: 1.17 + go-version: 1.18 - name: Run GoReleaser uses: goreleaser/goreleaser-action@v3.0.0 with: diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index d1d88e8..63924c3 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -38,7 +38,7 @@ jobs: needs: [yamllint, asknancy] strategy: matrix: - go-version: [1.17.x] + go-version: [1.18.x] os: [ubuntu-latest] runs-on: ${{ matrix.os }} steps: diff --git a/README.md b/README.md index 804ba11..a87ee17 100644 --- a/README.md +++ b/README.md @@ -168,7 +168,7 @@ vet Run the Go vet application ## Examples & Tests All unit tests and [examples](examples) run via [Github Actions](https://github.com/BuxOrg/go-buxclient/actions) and -uses [Go version 1.17.x](https://golang.org/doc/go1.17). View the [configuration file](.github/workflows/run-tests.yml). +uses [Go version 1.18.x](https://golang.org/doc/go1.18). View the [configuration file](.github/workflows/run-tests.yml).
diff --git a/transports/config.go b/transports/config.go index 2ed8655..8572f4f 100644 --- a/transports/config.go +++ b/transports/config.go @@ -9,7 +9,7 @@ type TransportType string const BuxUserAgent = "BUX: go-client " + BuxClientVersion // BuxClientVersion is the version of the client -const BuxClientVersion = "v0.1.18" +const BuxClientVersion = "v0.2.0" const ( // BuxTransportHTTP uses the http transport for all bux server actions