diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 2dcdee0..f17e72a 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,4 +1,4 @@ -# Basic dependabot.yml to update gomod, Github Actions and Docker +# Basic dependabot.yml to update gomod, GitHub Actions and Docker version: 2 updates: # Maintain dependencies for the core library diff --git a/.github/mergify.yml b/.github/mergify.yml index 3c9c638..7b08a39 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 b371914..f1c2d29 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,7 +23,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v4 with: - go-version: 1.17 + go-version: 1.19 - name: Run GoReleaser uses: goreleaser/goreleaser-action@v4.3.0 with: diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 25c6ad8..889e0db 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -15,7 +15,7 @@ jobs: test: strategy: matrix: - go-version: [ 1.17.x ] + go-version: [ 1.18.x ] os: [ ubuntu-latest ] runs-on: ${{ matrix.os }} steps: diff --git a/.golangci.yml b/.golangci.yml index 12a1d73..2aaf8f0 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -434,7 +434,7 @@ severity: # selected out format. # - Code climate: https://docs.codeclimate.com/docs/issues#issue-severity # - Checkstyle: https://checkstyle.sourceforge.io/property_types.html#severity - # - Github: https://help.github.com/en/actions/reference/workflow-commands-for-github-actions#setting-an-error-message + # - GitHub: https://help.github.com/en/actions/reference/workflow-commands-for-github-actions#setting-an-error-message default-severity: error # The default value is false. diff --git a/.goreleaser.yml b/.goreleaser.yml index 94fb00d..d83631a 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -29,7 +29,7 @@ build: skip: true # --------------------------- -# Github Release +# GitHub Release # --------------------------- release: prerelease: false diff --git a/.make/common.mk b/.make/common.mk index 742d719..a6e9a83 100644 --- a/.make/common.mk +++ b/.make/common.mk @@ -47,7 +47,7 @@ install-releaser: ## Install the GoReleaser application @curl -sfL https://install.goreleaser.com/github.com/goreleaser/goreleaser.sh | sh .PHONY: release -release:: ## Full production release (creates release in Github) +release:: ## Full production release (creates release in GitHub) @echo "releasing..." @test $(github_token) @export GITHUB_TOKEN=$(github_token) && goreleaser --rm-dist diff --git a/README.md b/README.md index 1e98177..0971e4f 100644 --- a/README.md +++ b/README.md @@ -106,7 +106,7 @@ View the generated [documentation](https://pkg.go.dev/github.com/bitcoinschema/g Library Deployment
-[goreleaser](https://github.com/goreleaser/goreleaser) for easy binary or library deployment to Github and can be installed via: `brew install goreleaser`. +[goreleaser](https://github.com/goreleaser/goreleaser) for easy binary or library deployment to GitHub and can be installed via: `brew install goreleaser`. The [.goreleaser.yml](.goreleaser.yml) file is used to configure [goreleaser](https://github.com/goreleaser/goreleaser). @@ -139,7 +139,7 @@ install Install the application install-go Install the application (Using Native Go) install-releaser Install the GoReleaser application lint Run the golangci-lint application (install if not found) -release Full production release (creates release in Github) +release Full production release (creates release in GitHub) release Runs common.release then runs godocs release-snap Test the full release (build binaries) release-test Full production test release (everything except deploy) @@ -164,8 +164,8 @@ vet Run the Go vet application
## Examples & Tests -All unit tests and [examples](examples) run via [Github Actions](https://github.com/BitcoinSchema/go-bitcoin/actions) and -uses [Go version 1.17.x](https://golang.org/doc/go1.17). View the [configuration file](.github/workflows/run-tests.yml). +All unit tests and [examples](examples) run via [GitHub Actions](https://github.com/BitcoinSchema/go-bitcoin/actions) and +uses [Go version 1.18.x](https://golang.org/doc/go1.18). View the [configuration file](.github/workflows/run-tests.yml). Run all tests (including integration tests)