From 1f3973d9b983cea6599217a4ac49df738f269eec Mon Sep 17 00:00:00 2001 From: tombuildsstuff Date: Fri, 26 Jan 2024 11:07:24 +0100 Subject: [PATCH] tooling: updating to Go 1.21.6 --- .github/workflows/automation-data-api-differ.yaml | 2 +- .github/workflows/automation-rest-api-specs-importer.yaml | 7 +------ .github/workflows/automation-version-bumper.yaml | 7 +------ .github/workflows/unit-test-data-api-differ.yaml | 2 +- .github/workflows/unit-test-data-api-v2.yaml | 2 +- .../workflows/unit-test-end-to-end-microsoft-graph.yaml | 2 +- .../workflows/unit-test-end-to-end-resource-manager.yaml | 2 +- .github/workflows/unit-test-generator-go-sdk.yaml | 2 +- .github/workflows/unit-test-generator-terraform.yaml | 2 +- .github/workflows/unit-test-rest-api-specs-importer.yaml | 2 +- .go-version | 1 + tools/importer-msgraph-metadata/.go-version | 2 +- 12 files changed, 12 insertions(+), 21 deletions(-) create mode 100644 .go-version diff --git a/.github/workflows/automation-data-api-differ.yaml b/.github/workflows/automation-data-api-differ.yaml index 600effb82f1..82ca5247b33 100644 --- a/.github/workflows/automation-data-api-differ.yaml +++ b/.github/workflows/automation-data-api-differ.yaml @@ -22,7 +22,7 @@ jobs: - uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 with: - go-version: '1.21.3' + go-version-file: ./.go-version - name: Detect Changes run: | diff --git a/.github/workflows/automation-rest-api-specs-importer.yaml b/.github/workflows/automation-rest-api-specs-importer.yaml index bde2adda1e2..c14170c22a8 100644 --- a/.github/workflows/automation-rest-api-specs-importer.yaml +++ b/.github/workflows/automation-rest-api-specs-importer.yaml @@ -28,12 +28,7 @@ jobs: - uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 with: - go-version: '1.21.3' - - - name: Setup .NET - uses: actions/setup-dotnet@4d6c8fcf3c8f7a60068d26b594648e99df24cee3 # v4.0.0 - with: - dotnet-version: 7.0.x + go-version-file: ./.go-version - name: build and run importer-rest-api-specs id: import-data diff --git a/.github/workflows/automation-version-bumper.yaml b/.github/workflows/automation-version-bumper.yaml index 54b608f2a32..98ad1193750 100644 --- a/.github/workflows/automation-version-bumper.yaml +++ b/.github/workflows/automation-version-bumper.yaml @@ -23,12 +23,7 @@ jobs: - uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 with: - go-version: '1.21.3' - - - name: Setup .NET - uses: actions/setup-dotnet@4d6c8fcf3c8f7a60068d26b594648e99df24cee3 # v4.0.0 - with: - dotnet-version: 7.0.x + go-version-file: ./.go-version - name: build and run version-bumper id: bump-versions diff --git a/.github/workflows/unit-test-data-api-differ.yaml b/.github/workflows/unit-test-data-api-differ.yaml index 77a82d732eb..f6630c03858 100644 --- a/.github/workflows/unit-test-data-api-differ.yaml +++ b/.github/workflows/unit-test-data-api-differ.yaml @@ -19,7 +19,7 @@ jobs: - uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 with: - go-version: '1.21.3' + go-version-file: ./.go-version - name: run unit tests run: | diff --git a/.github/workflows/unit-test-data-api-v2.yaml b/.github/workflows/unit-test-data-api-v2.yaml index 19ac0678a5d..298a50ac0f9 100644 --- a/.github/workflows/unit-test-data-api-v2.yaml +++ b/.github/workflows/unit-test-data-api-v2.yaml @@ -20,7 +20,7 @@ jobs: - uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 with: - go-version: '1.21.3' + go-version-file: ./.go-version - name: run unit tests run: | diff --git a/.github/workflows/unit-test-end-to-end-microsoft-graph.yaml b/.github/workflows/unit-test-end-to-end-microsoft-graph.yaml index 9b6f8f0b4df..80f3b9f5616 100644 --- a/.github/workflows/unit-test-end-to-end-microsoft-graph.yaml +++ b/.github/workflows/unit-test-end-to-end-microsoft-graph.yaml @@ -24,7 +24,7 @@ jobs: - uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 with: - go-version: '1.21.3' + go-version-file: ./.go-version - name: "Build Data API" run: | diff --git a/.github/workflows/unit-test-end-to-end-resource-manager.yaml b/.github/workflows/unit-test-end-to-end-resource-manager.yaml index 52a41948bfa..af6d1fa6df1 100644 --- a/.github/workflows/unit-test-end-to-end-resource-manager.yaml +++ b/.github/workflows/unit-test-end-to-end-resource-manager.yaml @@ -19,7 +19,7 @@ jobs: - uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 with: - go-version: '1.21.3' + go-version-file: ./.go-version - name: "Build and Run importer-rest-api-specs" id: import-data diff --git a/.github/workflows/unit-test-generator-go-sdk.yaml b/.github/workflows/unit-test-generator-go-sdk.yaml index 9cd70102f0d..bae55080c06 100644 --- a/.github/workflows/unit-test-generator-go-sdk.yaml +++ b/.github/workflows/unit-test-generator-go-sdk.yaml @@ -19,7 +19,7 @@ jobs: - uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 with: - go-version: '1.21.3' + go-version-file: ./.go-version - name: run unit tests run: | diff --git a/.github/workflows/unit-test-generator-terraform.yaml b/.github/workflows/unit-test-generator-terraform.yaml index 467b20d2b16..7dc30575eb4 100644 --- a/.github/workflows/unit-test-generator-terraform.yaml +++ b/.github/workflows/unit-test-generator-terraform.yaml @@ -19,7 +19,7 @@ jobs: - uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 with: - go-version: '1.21.3' + go-version-file: ./.go-version - name: run unit tests run: | diff --git a/.github/workflows/unit-test-rest-api-specs-importer.yaml b/.github/workflows/unit-test-rest-api-specs-importer.yaml index 49e09488b5b..0dcbcb675c3 100644 --- a/.github/workflows/unit-test-rest-api-specs-importer.yaml +++ b/.github/workflows/unit-test-rest-api-specs-importer.yaml @@ -21,7 +21,7 @@ jobs: - uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 with: - go-version: '1.21.3' + go-version-file: ./.go-version - name: run unit tests run: | diff --git a/.go-version b/.go-version new file mode 100644 index 00000000000..6e83421e4fd --- /dev/null +++ b/.go-version @@ -0,0 +1 @@ +1.21.6 \ No newline at end of file diff --git a/tools/importer-msgraph-metadata/.go-version b/tools/importer-msgraph-metadata/.go-version index 1b92e588b79..6e83421e4fd 100644 --- a/tools/importer-msgraph-metadata/.go-version +++ b/tools/importer-msgraph-metadata/.go-version @@ -1 +1 @@ -1.19.3 +1.21.6 \ No newline at end of file