You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ro...@apache.org on 2023/01/24 10:36:04 UTC
[cloudstack-cloudmonkey] branch main updated: .github: Migrate from Travis to GitHub actions (#121)
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-cloudmonkey.git
The following commit(s) were added to refs/heads/main by this push:
new 219f0af .github: Migrate from Travis to GitHub actions (#121)
219f0af is described below
commit 219f0af14431d2b75f8d5be340c826879aa442f2
Author: Rahul Agarwal <35...@users.noreply.github.com>
AuthorDate: Tue Jan 24 10:35:57 2023 +0000
.github: Migrate from Travis to GitHub actions (#121)
---
.../workflows/github-actions.yml | 30 ++++++++++++++++------
1 file changed, 22 insertions(+), 8 deletions(-)
diff --git a/.travis.yml b/.github/workflows/github-actions.yml
similarity index 64%
rename from .travis.yml
rename to .github/workflows/github-actions.yml
index 01cd504..58afb03 100644
--- a/.travis.yml
+++ b/.github/workflows/github-actions.yml
@@ -15,13 +15,27 @@
# specific language governing permissions and limitations
# under the License.
-sudo: false
-language: go
-go:
- - 1.14.x
+name: Github-Actions
-script:
- - make all
+on: [push, pull_request]
-env:
- - GO111MODULE=on
+concurrency:
+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
+ cancel-in-progress: true
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v3
+
+ - name: Set up Go
+ uses: actions/setup-go@v3
+ with:
+ go-version: 1.19.x
+
+ - name: Run Script
+ run: make all
+
+ env:
+ GO111MODULE: on