Skip to content

Commit 6f62389

Browse files
committed
chore: fix CI
1 parent d5d0bf2 commit 6f62389

File tree

2 files changed

+17
-21
lines changed

2 files changed

+17
-21
lines changed

.github/workflows/publish.yaml

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,18 @@ jobs:
1212
steps:
1313
- uses: actions/checkout@v4
1414

15-
- name: Set up Python
16-
uses: actions/setup-python@v5
17-
with:
18-
python-version: "3.10"
15+
- name: Setup Ape
16+
uses: ApeWorX/github-action@v3
1917

20-
- name: Install dependencies
18+
- name: Build and Install Contract Dependencies
2119
run: |
22-
python -m pip install --upgrade pip
23-
pip install -e .[release]
24-
25-
- name: Install plugins for build
26-
run: ape plugins install .
20+
ape pm compile
21+
ape run build
2722
28-
- name: Build and Install Contract Dependencies
29-
run: ape pm compile && ape run build
23+
- name: Install Package
24+
run: |
25+
python -m pip install --upgrade pip
26+
pip install .[release]
3027
3128
- name: Build Python distribution
3229
run: python setup.py sdist bdist_wheel

.github/workflows/test.yaml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -73,21 +73,20 @@ jobs:
7373
with:
7474
version: nightly
7575

76-
- name: Setup Python
77-
uses: actions/setup-python@v5
76+
- name: Setup Ape
77+
uses: ApeWorX/github-action@v3
7878
with:
7979
python-version: ${{ matrix.python-version }}
8080

81-
- name: Install Dependencies
81+
- name: Build and Install Contract Dependencies
82+
run: |
83+
ape pm compile
84+
ape run build
85+
86+
- name: Install Package
8287
run: |
8388
python -m pip install --upgrade pip
8489
pip install .[test]
8590
86-
- name: Install plugins
87-
run: ape plugins install .
88-
89-
- name: Build and Install Contract Dependencies
90-
run: ape pm compile && ape run build
91-
9291
- name: Run Tests
9392
run: ape test -n 0 -s --cov

0 commit comments

Comments
 (0)