Skip to content

Commit 199256f

Browse files
committed
Update workflow to use drift-action
1 parent d9a880d commit 199256f

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

.github/workflows/tusk-drift-api-tests.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,14 @@ jobs:
1515
- name: Set up Python
1616
uses: actions/setup-python@v5
1717
with:
18-
python-version: '3.12'
18+
python-version: "3.12"
1919

2020
- name: Install dependencies
2121
run: pip install -r requirements.txt
2222

23-
- name: Install Tusk CLI
24-
run: curl -fsSL https://cli.usetusk.ai/install.sh | sh
25-
2623
- name: Run Tusk Drift API tests
27-
env:
28-
TUSK_API_KEY: ${{ secrets.TUSK_DRIFT_API_KEY }}
29-
run: tusk run --cloud --ci --print --validate-suite-if-default-branch --commit-sha=${{ github.sha }} --pr-number=${{ github.event.pull_request.number }} --branch=${{ github.event.pull_request.head.ref }}
24+
uses: Use-Tusk/drift-action@v1
25+
with:
26+
working-directory: .
27+
cache-key: ${{ runner.os }}-tusk-drift-${{ hashFiles('.tusk/config.yaml') }}
28+
api-key: ${{ secrets.TUSK_DRIFT_API_KEY }}

0 commit comments

Comments
 (0)