This is an automated email from the ASF dual-hosted git repository.
shwstppr pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudstack-cloudmonkey.git
The following commit(s) were added to refs/heads/main by this push:
new 765b62f github-action: lint runner (#172)
765b62f is described below
commit 765b62f77e71dcf6eac36ecc7adfc8a2031a2f83
Author: Abhishek Kumar <[email protected]>
AuthorDate: Thu Aug 7 13:45:49 2025 +0530
github-action: lint runner (#172)
Adds a runner for `make lint` with Ubuntu 24.04
---------
Signed-off-by: Abhishek Kumar <[email protected]>
---
.github/workflows/lint.yml | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
new file mode 100644
index 0000000..db98df7
--- /dev/null
+++ b/.github/workflows/lint.yml
@@ -0,0 +1,38 @@
+# 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: Lint Check
+
+on: [push, pull_request]
+
+jobs:
+ lint:
+ name: Run make lint
+ runs-on: ubuntu-24.04
+
+ steps:
+ - name: Checkout code
+ uses: actions/checkout@v4
+
+ - name: Set up Go
+ uses: actions/setup-go@v5
+ with:
+ go-version: '1.22'
+
+ - name: Run lint
+ run: |
+ make lint