From 2d1b9bd8d98a91839e372be05f5c5211a7bc5ac9 Mon Sep 17 00:00:00 2001 From: Patrick Zheng Date: Thu, 31 Aug 2023 15:58:54 +0800 Subject: [PATCH] updated golang version Signed-off-by: Patrick Zheng --- .github/workflows/reusable-build.yml | 28 +++++++++++++-------------- .github/workflows/reusable-codeql.yml | 28 +++++++++++++-------------- go.mod | 2 +- 3 files changed, 29 insertions(+), 29 deletions(-) diff --git a/.github/workflows/reusable-build.yml b/.github/workflows/reusable-build.yml index 7277b6af..e8b4765e 100644 --- a/.github/workflows/reusable-build.yml +++ b/.github/workflows/reusable-build.yml @@ -1,16 +1,16 @@ -# Copyright The Notary Project Authors. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - +# Copyright The Notary Project Authors. +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + name: Reusable build on: @@ -21,7 +21,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - go-version: [1.19, "1.20"] + go-version: ["1.20", "1.21"] fail-fast: true steps: - name: Checkout diff --git a/.github/workflows/reusable-codeql.yml b/.github/workflows/reusable-codeql.yml index fbe4e2ca..1c99a504 100644 --- a/.github/workflows/reusable-codeql.yml +++ b/.github/workflows/reusable-codeql.yml @@ -1,16 +1,16 @@ -# Copyright The Notary Project Authors. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - +# Copyright The Notary Project Authors. +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + name: Reusable CodeQL on: @@ -26,7 +26,7 @@ jobs: security-events: write strategy: matrix: - go-version: [1.19, "1.20"] + go-version: ["1.20", "1.21"] fail-fast: false steps: - name: Checkout repository diff --git a/go.mod b/go.mod index 0e575a2d..89271b0e 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/notaryproject/notation-core-go -go 1.19 +go 1.20 require ( github.com/fxamacker/cbor/v2 v2.4.0