From 769fbb0e0fbea3596db31d3385a62e1642c5a40b Mon Sep 17 00:00:00 2001 From: Lisa Rashidi-Ranjbar Date: Mon, 9 Jun 2025 09:44:28 -0700 Subject: [PATCH 1/3] Update to golang 1.23.9 --- go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go.mod b/go.mod index b5ca912c9..f2f3e299d 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/ansible/receptor -go 1.23.0 +go 1.23.9 require ( github.com/creack/pty v1.1.24 From dd53b1c79155dedc66e35d2c18ee76c3378a6024 Mon Sep 17 00:00:00 2001 From: Lisa Rashidi-Ranjbar Date: Mon, 9 Jun 2025 10:35:30 -0700 Subject: [PATCH 2/3] Update Github actions and docs to go 1.23 --- .github/workflows/build_binary_from_ref.yml | 2 +- .github/workflows/coverage_reporting.yml | 2 +- .github/workflows/promote.yml | 2 +- .github/workflows/pull_request.yml | 6 +++--- .github/workflows/test-reporting.yml | 2 +- .readthedocs.yaml | 2 +- docs/source/installation.rst | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build_binary_from_ref.yml b/.github/workflows/build_binary_from_ref.yml index 10dce05c8..92132e972 100644 --- a/.github/workflows/build_binary_from_ref.yml +++ b/.github/workflows/build_binary_from_ref.yml @@ -26,7 +26,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: "1.22" + go-version: "1.23" - name: build-all target run: make receptor diff --git a/.github/workflows/coverage_reporting.yml b/.github/workflows/coverage_reporting.yml index f32f3020f..906aa2f6a 100644 --- a/.github/workflows/coverage_reporting.yml +++ b/.github/workflows/coverage_reporting.yml @@ -7,7 +7,7 @@ on: # yamllint disable-line rule:truthy branches: [devel] env: - DESIRED_GO_VERSION: '1.22' + DESIRED_GO_VERSION: '1.23' jobs: go_test_coverage: diff --git a/.github/workflows/promote.yml b/.github/workflows/promote.yml index aa358ce0d..c19b7bda3 100644 --- a/.github/workflows/promote.yml +++ b/.github/workflows/promote.yml @@ -86,7 +86,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: "1.22" + go-version: "1.23" - name: Build packages run: | diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 72463410a..287cfa61f 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -5,7 +5,7 @@ on: # yamllint disable-line rule:truthy pull_request: # yamllint disable-line rule:empty-values env: - DESIRED_GO_VERSION: '1.22' + DESIRED_GO_VERSION: '1.23' DESIRED_GOLANGCI_LINT_VERSION: 'v1.60' DESIRED_PYTHON_VERSION: '3.12' @@ -34,7 +34,7 @@ jobs: strategy: fail-fast: false matrix: - go-version: ["1.22"] + go-version: ["1.23"] steps: - name: Checkout uses: actions/checkout@v4 @@ -104,7 +104,7 @@ jobs: python-version: ${{ matrix.python-version }} session: tests-${{ matrix.python-version }} download-receptor: true - go-version: '1.22' + go-version: '1.23' lint-receptorctl: name: Lint receptorctl${{ '' }} # Nest jobs under the same sidebar category diff --git a/.github/workflows/test-reporting.yml b/.github/workflows/test-reporting.yml index 6d2788890..73f63a1d0 100644 --- a/.github/workflows/test-reporting.yml +++ b/.github/workflows/test-reporting.yml @@ -7,7 +7,7 @@ on: # yamllint disable-line rule:truthy branches: [devel] env: - DESIRED_GO_VERSION: '1.22' + DESIRED_GO_VERSION: '1.23' jobs: generate_junit_test_report: diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 740430fa0..70ad216a2 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -9,7 +9,7 @@ version: 2 build: os: ubuntu-lts-latest tools: - golang: "1.22" + golang: "1.23" python: "3.12" # You can also specify other tool versions: # nodejs: "20" diff --git a/docs/source/installation.rst b/docs/source/installation.rst index 3e9a2f69e..b212ef412 100644 --- a/docs/source/installation.rst +++ b/docs/source/installation.rst @@ -6,7 +6,7 @@ Installation guide Download and extract precompiled binary for your OS and platform from `the releases page on GitHub `_ -Alternatively, you can compile Receptor from source code (Golang 1.22+ required) +Alternatively, you can compile Receptor from source code (Golang 1.23+ required) .. code-block:: bash From fa3e143c359960e67f7f857b4f04bd00ccedbe9d Mon Sep 17 00:00:00 2001 From: Lisa Rashidi-Ranjbar Date: Mon, 9 Jun 2025 11:23:11 -0700 Subject: [PATCH 3/3] Add Go 1.22 back into pull_request.yaml --- .github/workflows/pull_request.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 287cfa61f..17ec7e102 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -34,7 +34,7 @@ jobs: strategy: fail-fast: false matrix: - go-version: ["1.23"] + go-version: ["1.22","1.23"] steps: - name: Checkout uses: actions/checkout@v4