Skip to content

Commit 8aa1ec2

Browse files
authored
chore(ci): fix build pipeline poetry installation (#272)
* chore(ci): fix build pipeline poetry installation * chore(ci): fix missing indentation * chore(ci): fix formatting in yml file * chore(ci): update precommit hooks
1 parent ab6bdaf commit 8aa1ec2

File tree

2 files changed

+8
-14
lines changed

2 files changed

+8
-14
lines changed

.github/workflows/ci.yml

+6-12
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,13 @@ jobs:
1919
- name: Clone Repository
2020
uses: actions/checkout@v4
2121

22-
- name: Set up Poetry
23-
uses: abatilo/actions-poetry@v4
24-
with:
25-
poetry-version: latest
26-
2722
- name: Set up Python ${{ matrix.python-version }}
2823
uses: actions/setup-python@v5
2924
with:
3025
python-version: ${{ matrix.python-version }}
31-
cache: 'poetry'
26+
27+
- name: Set up Poetry
28+
run: pipx install poetry==1.8.5 --python python${{ matrix.python-version }}
3229

3330

3431
- name: Install Supabase CLI
@@ -88,16 +85,13 @@ jobs:
8885
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
8986
contents: write # needed for github actions bot to write to repo
9087
steps:
91-
- name: Set up Poetry
92-
uses: abatilo/actions-poetry@v4
93-
with:
94-
poetry-version: 1.8.4
95-
9688
- name: Set up Python 3.11
9789
uses: actions/setup-python@v5
9890
with:
9991
python-version: 3.11
100-
cache: 'poetry'
92+
93+
- name: Set up Poetry
94+
run: pipx install poetry==1.8.5 --python python3.11
10195

10296
- name: Clone Repository
10397
uses: actions/checkout@v4

.pre-commit-config.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
exclude: '^.*\.(md|MD|html)$'
22
repos:
33
- repo: https://github.com/pre-commit/pre-commit-hooks
4-
rev: v4.5.0
4+
rev: v5.0.0
55
hooks:
66
- id: trailing-whitespace
77
- id: check-added-large-files
@@ -10,7 +10,7 @@ repos:
1010
args: ["--fix=lf"]
1111

1212
- repo: https://github.com/pycqa/isort
13-
rev: 5.13.2
13+
rev: 6.0.0
1414
hooks:
1515
- id: isort
1616
args:

0 commit comments

Comments
 (0)