From bcd5e8bf35de204650ccf914d34c0fb1308d6c52 Mon Sep 17 00:00:00 2001 From: tison Date: Sun, 24 Mar 2024 10:07:40 +0800 Subject: [PATCH 1/3] ci: bump license header formatter Signed-off-by: tison --- .github/workflows/ci_check.yml | 2 +- bindings/go/go.mod | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci_check.yml b/.github/workflows/ci_check.yml index 1948c4eba3a3..00f64d3ab3af 100644 --- a/.github/workflows/ci_check.yml +++ b/.github/workflows/ci_check.yml @@ -57,7 +57,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Check license headers - uses: korandoru/hawkeye@v4.0.5 + uses: korandoru/hawkeye@v5.0.0 # Add python format check later. code-format: diff --git a/bindings/go/go.mod b/bindings/go/go.mod index e82f8274d089..2f7f399cc6d2 100644 --- a/bindings/go/go.mod +++ b/bindings/go/go.mod @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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. + */ + module opendal.apache.org/go go 1.20 From 8f99b9007e4bc0ceb07f5a981afd28429a717289 Mon Sep 17 00:00:00 2001 From: tison Date: Sun, 24 Mar 2024 12:42:30 +0800 Subject: [PATCH 2/3] fixup Signed-off-by: tison --- .github/workflows/ci_check.yml | 2 +- bindings/go/go.mod | 34 ++++++++++++++++------------------ 2 files changed, 17 insertions(+), 19 deletions(-) diff --git a/.github/workflows/ci_check.yml b/.github/workflows/ci_check.yml index 00f64d3ab3af..c61a700ea57a 100644 --- a/.github/workflows/ci_check.yml +++ b/.github/workflows/ci_check.yml @@ -57,7 +57,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Check license headers - uses: korandoru/hawkeye@v5.0.0 + uses: korandoru/hawkeye@v5.0.1 # Add python format check later. code-format: diff --git a/bindings/go/go.mod b/bindings/go/go.mod index 2f7f399cc6d2..11bf83647be4 100644 --- a/bindings/go/go.mod +++ b/bindings/go/go.mod @@ -1,21 +1,19 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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. - */ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you 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. module opendal.apache.org/go From 69ad44597fd375c6645759cfdab27fc74069832b Mon Sep 17 00:00:00 2001 From: tison Date: Sun, 24 Mar 2024 15:07:58 +0800 Subject: [PATCH 3/3] Update ci_check.yml --- .github/workflows/ci_check.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci_check.yml b/.github/workflows/ci_check.yml index c61a700ea57a..9b8ffe7597e0 100644 --- a/.github/workflows/ci_check.yml +++ b/.github/workflows/ci_check.yml @@ -57,7 +57,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Check license headers - uses: korandoru/hawkeye@v5.0.1 + uses: korandoru/hawkeye@v5 # Add python format check later. code-format: