This is an automated email from the ASF dual-hosted git repository.

fokko pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iceberg-terraform.git


The following commit(s) were added to refs/heads/main by this push:
     new 040cafc  Fix CI to not reference Makefile (#9)
040cafc is described below

commit 040cafc25b73513de16ae928ba6510fb3bd8501d
Author: Alex Stephen <[email protected]>
AuthorDate: Thu Jan 8 02:16:38 2026 -0800

    Fix CI to not reference Makefile (#9)
    
    * Fix CI to not reference Makefile
    
    * Add license check
---
 .github/workflows/go-ci.yml         | 15 +++++++++------
 .github/workflows/license_check.yml | 27 +++++++++++++++++++++++++++
 2 files changed, 36 insertions(+), 6 deletions(-)

diff --git a/.github/workflows/go-ci.yml b/.github/workflows/go-ci.yml
index 59c5c6d..0a4b56e 100644
--- a/.github/workflows/go-ci.yml
+++ b/.github/workflows/go-ci.yml
@@ -49,11 +49,14 @@ jobs:
         go-version: ${{ matrix.go }}
         cache: true
         cache-dependency-path: go.sum
-    - name: Install tools
-      run: make install-tools
-    - name: Go mod tidy
-      run: make tidy
+    - name: Install staticcheck      
+      run: GOTOOLCHAIN='go1.24.9' go install 
honnef.co/go/tools/cmd/[email protected]
+    - name: Run golangci-lint
+      uses: golangci/golangci-lint-action
+      with:
+        version: v2.0.2
+        args: --timeout=10m
     - name: Lint
-      run: make lint
+      run: staticcheck ./...
     - name: Run tests
-      run: make test
+      run: go test -v ./...
diff --git a/.github/workflows/license_check.yml 
b/.github/workflows/license_check.yml
new file mode 100644
index 0000000..d727084
--- /dev/null
+++ b/.github/workflows/license_check.yml
@@ -0,0 +1,27 @@
+# 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.
+
+name: "Run License Check"
+on: pull_request
+
+jobs:
+  rat:
+    runs-on: ubuntu-22.04
+    steps:
+    - uses: actions/checkout@v3
+    - run: |
+        dev/check-license

Reply via email to