Skip to content

Commit

Permalink
feat: [skip e2e] effective way to use cache (milvus-io#34774) (milvus…
Browse files Browse the repository at this point in the history
…-io#35109)

See also milvus-io#34483

Signed-off-by: Yellow Shine <sammy.huang@zilliz.com>
  • Loading branch information
yellow-shine committed Aug 2, 2024
1 parent a605015 commit c30d883
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/code-checker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,19 @@ jobs:
- name: Checkout
uses: actions/checkout@v2
- name: Download Caches
uses: ./.github/actions/cache
uses: ./.github/actions/cache-restore
with:
os: 'ubuntu20.04'
- name: Code Check
env:
OS_NAME: 'ubuntu20.04'
run: |
./build/builder.sh /bin/bash -c "make check-proto-product && make verifiers"
- name: Save Caches
uses: ./.github/actions/cache-save
if: github.event_name != 'pull_request'
with:
os: 'ubuntu20.04'

amazonlinux:
name: Code Checker Amazonlinux 2023
Expand All @@ -78,10 +83,16 @@ jobs:
- name: Checkout
uses: actions/checkout@v2
- name: Download Caches
uses: ./.github/actions/cache
uses: ./.github/actions/cache-restore
with:
os: 'amazonlinux2023'
- name: Code Check
run: |
sed -i 's/ubuntu20.04/amazonlinux2023/g' .env
./build/builder.sh /bin/bash -c "make install"
- name: Save Caches
uses: ./.github/actions/cache-save
if: github.event_name != 'pull_request'
with:
os: 'amazonlinux2023'

0 comments on commit c30d883

Please sign in to comment.