Skip to content

Commit 6bdcf00

Browse files
authored
Components (#958)
1 parent c006a44 commit 6bdcf00

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+1826
-453
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,12 @@ jobs:
1010
working-directory: pgml-extension
1111
steps:
1212
- uses: actions/checkout@v3
13+
- name: Changed files in pgml-extension
14+
id: pgml_extension_changed
15+
run: |
16+
echo "PGML_EXTENSION_CHANGED_FILES=$(git diff --name-only HEAD HEAD~1 . | wc -l)" >> $GITHUB_OUTPUT
1317
- name: Install dependencies
18+
if: steps.pgml_extension_changed.outputs.PGML_EXTENSION_CHANGED_FILES != '0'
1419
run: |
1520
sudo apt-get update && \
1621
DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC sudo apt-get install -y \
@@ -29,16 +34,19 @@ jobs:
2934
sudo pip3 install -r requirements.txt
3035
- name: Cache dependencies
3136
uses: buildjet/cache@v3
37+
if: steps.pgml_extension_changed.outputs.PGML_EXTENSION_CHANGED_FILES != '0'
3238
with:
3339
path: |
3440
~/.cargo
3541
pgml-extension/target
3642
~/.pgrx
3743
key: ${{ runner.os }}-rust-3-${{ hashFiles('pgml-extension/Cargo.lock') }}
3844
- name: Submodules
45+
if: steps.pgml_extension_changed.outputs.PGML_EXTENSION_CHANGED_FILES != '0'
3946
run: |
4047
git submodule update --init --recursive
4148
- name: Run tests
49+
if: steps.pgml_extension_changed.outputs.PGML_EXTENSION_CHANGED_FILES != '0'
4250
run: |
4351
curl https://sh.rustup.rs -sSf | sh -s -- -y
4452
source ~/.cargo/env

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy