From d041e561efc9c540052bc6f42d3f9f1bf7aae52f Mon Sep 17 00:00:00 2001 From: Sebastian Birunt Date: Fri, 27 Sep 2024 11:48:30 +0200 Subject: [PATCH] fix: ugdate to go@1.18 Bob supports now go>=1.18. Update all references to old versions. Change-Id: I058cda97af328c10e982e75c0746f0e4a0bf1f06 Signed-off-by: Sebastian Birunt --- .github/workflows/ci.yml | 2 +- WORKSPACE | 2 +- go.mod | 9 ++++++++- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6b0272c3..9b1eaf91 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,7 +28,7 @@ jobs: name: Commit checks strategy: matrix: - go: ["1.13"] + go: ["1.18"] os: [ubuntu-latest] python: ["3.x"] runs-on: ${{ matrix.os }} diff --git a/WORKSPACE b/WORKSPACE index c7b677ce..007f2eb2 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -91,7 +91,7 @@ go_dependencies() go_rules_dependencies() # 1.18 for latest rules_go and Gazelle. -# Bob itself supports >=1.11 +# Bob itself supports >=1.18 go_register_toolchains(version = "1.18") # TODO: Fix config system import structure diff --git a/go.mod b/go.mod index 5c71efc8..cd311f37 100644 --- a/go.mod +++ b/go.mod @@ -1,10 +1,17 @@ module github.com/ARM-software/bob-build -go 1.11 +go 1.18 require ( github.com/google/blueprint v0.0.0-20200402195805-6957a46d38c9 github.com/stretchr/testify v1.6.0 ) +require ( + github.com/davecgh/go-spew v1.1.0 // indirect + github.com/pmezard/go-difflib v1.0.0 // indirect + github.com/stretchr/objx v0.1.0 // indirect + gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c // indirect +) + replace github.com/google/blueprint v0.0.0-20200402195805-6957a46d38c9 => ./blueprint