You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by to...@apache.org on 2020/12/13 13:24:14 UTC
[libcloud] 01/15: Update WF config.
This is an automated email from the ASF dual-hosted git repository.
tomaz pushed a commit to branch github_actions_take_2
in repository https://gitbox.apache.org/repos/asf/libcloud.git
commit 6ce97136f2b7c7489156e9c79263334d7c96c5ea
Author: Tomaz Muraus <to...@tomaz.me>
AuthorDate: Sun Dec 13 13:49:51 2020 +0100
Update WF config.
---
.github/workflows/main.yml | 18 +++++++++++++-----
1 file changed, 13 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 9b9a840..e5c8e80 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -1,6 +1,14 @@
name: CI
-on: [push]
+on:
+ push:
+ branches:
+ - trunk
+ pull_request:
+ branches:
+ - trunk
+ schedule:
+ - cron: '0 2 * * *'
jobs:
unit_tests:
@@ -17,7 +25,7 @@ jobs:
with:
fetch-depth: 1
- name: Use Python ${{ matrix.python_version }}
- uses: actions/setup-python@v1
+ uses: actions/setup-python@v2
with:
version: ${{ matrix.python_version }}
- name: Install OS / deb dependencies
@@ -43,7 +51,7 @@ jobs:
with:
fetch-depth: 1
- name: Use Python ${{ matrix.python_version }}
- uses: actions/setup-python@v1
+ uses: actions/setup-python@v2
with:
version: ${{ matrix.python_version }}
- name: Install OS / deb dependencies
@@ -69,7 +77,7 @@ jobs:
with:
fetch-depth: 1
- name: Use Python ${{ matrix.python_version }}
- uses: actions/setup-python@v1
+ uses: actions/setup-python@v2
with:
version: ${{ matrix.python_version }}
- name: Install OS / deb dependencies
@@ -95,7 +103,7 @@ jobs:
with:
fetch-depth: 1
- name: Use Python ${{ matrix.python_version }}
- uses: actions/setup-python@v1
+ uses: actions/setup-python@v2
with:
version: ${{ matrix.python_version }}
- name: Install OS / deb dependencies