Skip to content

Commit

Permalink
Enable partial parsing in all actions workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
akan72 committed Jun 20, 2024
1 parent fa6a036 commit 18e4525
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 19 deletions.
13 changes: 13 additions & 0 deletions .github/actions/init-dbt/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: init dbt
runs:
using: "composite"
steps:
- name: Set up dependencies
run: |
pip install pip==23.1.2
pip install pip-tools==6.13.0
pip install -r requirements.txt
- name: Download DBT Manifest
run: |
wget https://artemis-xyz.github.io/dbt/manifest.json
7 changes: 2 additions & 5 deletions .github/workflows/compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,8 @@ jobs:
with:
ref: ${{ github.event.pull_request.head.sha }}

- name: Set up dependencies
run: |
pip install pip==23.1.2
pip install pip-tools==6.13.0
pip install -r requirements.txt
- name: Init dbt
uses: ./.github/actions/init-dbt

- name: Compile
run: |
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,8 @@ jobs:
owner: ${{ github.repository_owner }}
repositories: "artemis-xyz.github.io"

- name: Set up dependencies
run: |
pip install pip==23.1.2
pip install pip-tools==6.13.0
pip install -r requirements.txt
- name: Init dbt
uses: ./.github/actions/init-dbt

- name: Generate docs
run: |
Expand Down
11 changes: 2 additions & 9 deletions .github/workflows/show_changed_models.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,8 @@ jobs:
with:
ref: ${{ github.event.pull_request.head.sha }}

- name: Set up dependencies
run: |
pip install pip==23.1.2
pip install pip-tools==6.13.0
pip install -r requirements.txt
- name: Download manifest.json
run: |
wget https://artemis-xyz.github.io/dbt/manifest.json
- name: Init dbt
uses: ./.github/actions/init-dbt

- name: Show results of changed models
run: |
Expand Down

0 comments on commit 18e4525

Please sign in to comment.