Skip to content

Commit

Permalink
ci: Update actions (#1934)
Browse files Browse the repository at this point in the history
* update checkout

Signed-off-by: jxdv <[email protected]>

* update setup-python

Signed-off-by: jxdv <[email protected]>

---------

Signed-off-by: jxdv <[email protected]>
  • Loading branch information
jxdv authored Feb 26, 2024
1 parent 76cc91c commit bfdf7d0
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check_milvus_proto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ jobs:
matrix:
python-version: [3.8, 3.12]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/code_checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ jobs:
python-version: [3.8, 3.12]
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Set up python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: check pyproject.toml install
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/nightly_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
IMAGE_REPO: "milvusdb"
TAG_PREFIX: "master-"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Get the latest of Milvus dev image tag
shell: bash
Expand All @@ -39,12 +39,12 @@ jobs:
IMAGE_TAG=${{ steps.extracter.outputs.tag }} docker-compose up -d
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Clone Milvus Repo
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: milvus-io/milvus
path: 'milvus'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish_dev_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ jobs:

steps:
- name: Check out from Git
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Get history and tags for SCM versioning
run: |
git fetch --prune --unshallow
git fetch --depth=1 origin +refs/tags/*:refs/tags/*
- name: Set up Python 3.12
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Install pypa/build
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish_on_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ jobs:

steps:
- name: Check out from Git
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Get history and tags for SCM versioning
run: |
git fetch --prune --unshallow
git fetch --depth=1 origin +refs/tags/*:refs/tags/*
- name: Set up Python 3.12
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Install pypa/build
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand Down

0 comments on commit bfdf7d0

Please sign in to comment.