This is an automated email from the ASF dual-hosted git repository.
jin pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-hugegraph-ai.git
The following commit(s) were added to refs/heads/main by this push:
new e6aa61a chore: enable pip cache (#142)
e6aa61a is described below
commit e6aa61a1c3da7aaedaefa1e75f609925532c6bbd
Author: imbajin <[email protected]>
AuthorDate: Mon Dec 23 22:27:10 2024 +0800
chore: enable pip cache (#142)
---
.github/workflows/pylint.yml | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml
index b864eb9..34f3e9b 100644
--- a/.github/workflows/pylint.yml
+++ b/.github/workflows/pylint.yml
@@ -3,6 +3,8 @@ name: "Pylint"
on:
push:
branches:
+ - 'main'
+ - 'master'
- 'release-*'
pull_request:
@@ -11,13 +13,16 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
- python-version: ["3.9", "3.10"]
+ python-version: ["3.10", "3.11"]
+
steps:
- uses: actions/checkout@v4
- - name: Set up Python ${{ matrix.python-version }}
- uses: actions/setup-python@v3
+ - name: Setup Python ${{ matrix.python-version }}
+ uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
+ cache: 'pip'
+
- name: Install dependencies
run: |
python -m pip install --upgrade pip