From 97f4565f23c3e40c784875f3b0724c43cd3652ed Mon Sep 17 00:00:00 2001 From: Brett Vickers Date: Fri, 5 Jul 2024 21:23:47 -0700 Subject: [PATCH] Update minimal go version to 1.21 This enables the usage of the go slices package. --- .github/workflows/go.yml | 2 +- go.mod | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index c5a3a42..d0ad94d 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -14,7 +14,7 @@ jobs: strategy: matrix: - go-version: [ '1.18', '1.21', '1.22.x' ] + go-version: [ '1.21', '1.22.x' ] steps: - uses: actions/checkout@v4 diff --git a/go.mod b/go.mod index 2a3fa01..276e6ea 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ module github.com/beevik/etree -go 1.18 +go 1.21