This is an automated email from the ASF dual-hosted git repository.
rohit pushed a commit to branch main
in repository
https://gitbox.apache.org/repos/asf/cloudstack-kubernetes-provider.git
The following commit(s) were added to refs/heads/main by this push:
new e7deb8ec GitHub actions 1 (#43)
e7deb8ec is described below
commit e7deb8ec2a898f1595581700113a3dc31f44bb9d
Author: Rahul Agarwal <[email protected]>
AuthorDate: Wed Jan 25 13:06:05 2023 +0000
GitHub actions 1 (#43)
* Create github-actions.yml
* Update github-actions.yml
* Delete .travis.yml
* Update github-actions.yml
* Update and rename github-actions.yml to Test-Build.yml
* Update and rename Test-Build.yml to build.yml
---
.github/workflows/build.yml | 39 +++++++++++++++++++++++++++++++++++++++
.travis.yml | 7 -------
2 files changed, 39 insertions(+), 7 deletions(-)
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
new file mode 100644
index 00000000..1dc2279d
--- /dev/null
+++ b/.github/workflows/build.yml
@@ -0,0 +1,39 @@
+# 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: Test-Build
+
+on: [push, pull_request]
+
+concurrency:
+ group: ${{ github.workflow }}-${{ github.event.pull_request.number ||
github.ref }}
+ cancel-in-progress: true
+
+jobs:
+ build:
+ runs-on: ubuntu-22.04
+
+ steps:
+ - uses: actions/checkout@v3
+
+ - name: Set up Go
+ uses: actions/setup-go@v3
+ with:
+ go-version: 1.13
+ - name: Run Script
+ run: make test
+
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index 1615af4d..00000000
--- a/.travis.yml
+++ /dev/null
@@ -1,7 +0,0 @@
-language: go
-
-go:
-- 1.13
-- master
-
-script: make test