Skip to content

Commit e94400b

Browse files
committed
ci: make snowfakery ci branch-aware for cci integration
1 parent a82f4b4 commit e94400b

1 file changed

Lines changed: 7 additions & 8 deletions

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ jobs:
1919
with:
2020
python-version: "${{ matrix.python-version }}"
2121
- name: Install a specific version of uv
22-
uses: SFDO-Tooling/setup-uv@main
22+
uses: SFDO-Tooling/setup-uv@v8.0.0-sfdo.1
2323
with:
24-
version: "0.5.0"
24+
version: "0.8.4"
2525
enable-cache: true
2626
- name: "Install dependencies"
2727
run: |
@@ -51,17 +51,17 @@ jobs:
5151
python-version: "3.11"
5252

5353
- name: Set up uv
54-
uses: SFDO-Tooling/setup-uv@main
54+
uses: SFDO-Tooling/setup-uv@v8.0.0-sfdo.1
5555
with:
56-
version: "0.5.0"
56+
version: "0.8.4"
5757
enable-cache: true
5858

5959
- name: Install dependencies
6060
run: |
6161
python -VV
6262
python -m pip install --upgrade pip
6363
uv sync -p 3.11
64-
uv add git+https://github.com/SFDO-Tooling/CumulusCI.git@main
64+
uv add "git+https://github.com/SFDO-Tooling/CumulusCI.git@${{ github.ref_name == 'dev' && 'dev' || 'main' }}"
6565
6666
- name: Run Tests
6767
run: |
@@ -88,9 +88,9 @@ jobs:
8888
python-version: "3.11"
8989

9090
- name: Set up uv
91-
uses: SFDO-Tooling/setup-uv@main
91+
uses: SFDO-Tooling/setup-uv@v8.0.0-sfdo.1
9292
with:
93-
version: "0.5.0"
93+
version: "0.8.4"
9494
enable-cache: true
9595

9696
- name: Install dependencies
@@ -127,4 +127,3 @@ jobs:
127127
- name: "Test installation"
128128
run: |
129129
python -m snowfakery --version
130-

0 commit comments

Comments
 (0)