Skip to content

Commit

Permalink
Merge pull request #140 from freelawproject/2492-fixes-eyecite-ci-poetry
Browse files Browse the repository at this point in the history
2492 Fixes eyecite CI
  • Loading branch information
mlissner authored Jan 27, 2023
2 parents 16d4e3c + 19a515d commit dfec310
Show file tree
Hide file tree
Showing 7 changed files with 965 additions and 767 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,10 @@ jobs:
# That we should drop once groups is released for main
#----------------------------------------------
- name: Install Poetry
uses: snok/install-poetry@v1
uses: snok/install-poetry@v1.3.3
with:
virtualenvs-create: true
virtualenvs-in-project: true
version: 1.2.0rc2
#----------------------------------------------
# load cached venv if cache exists
#----------------------------------------------
Expand Down Expand Up @@ -171,11 +170,10 @@ jobs:
# ----- install & configure poetry -----
#----------------------------------------------
- name: Install Poetry
uses: snok/install-poetry@v1
uses: snok/install-poetry@v1.3.3
with:
virtualenvs-create: true
virtualenvs-in-project: true
version: 1.2.0rc2

#----------------------------------------------
# load cached venv if cache exists
Expand Down
10 changes: 4 additions & 6 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,10 @@ jobs:
python-version: "3.9"

- name: Install Poetry
uses: snok/install-poetry@v1
uses: snok/install-poetry@v1.3.3
with:
virtualenvs-create: true
virtualenvs-in-project: true
version: 1.2.0rc2

- name: Install hyperscan
run: sudo apt-get install libhyperscan-dev
Expand All @@ -32,7 +31,7 @@ jobs:
uses: actions/cache@v2
with:
path: .venv
key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock')}}-v20210507
key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock')}}

- name: Install dependencies
run: poetry install
Expand Down Expand Up @@ -68,18 +67,17 @@ jobs:
python-version: "3.8"

- name: Install Poetry
uses: snok/install-poetry@v1
uses: snok/install-poetry@v1.3.3
with:
virtualenvs-create: true
virtualenvs-in-project: true
version: 1.2.0rc2

- name: Load cached venv
id: cached-poetry-dependencies
uses: actions/cache@v2
with:
path: .venv
key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock')}}-v20210507
key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock')}}

- name: Install dependencies
run: poetry install
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pdoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
python-version: "3.8"

- name: Install Poetry
uses: snok/install-poetry@v1.1.0
uses: snok/install-poetry@v1.3.3
with:
virtualenvs-create: true
virtualenvs-in-project: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Install Poetry
uses: snok/install-poetry@v1.1.0
uses: snok/install-poetry@v1.3.3
with:
virtualenvs-create: true
virtualenvs-in-project: true
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,8 @@ jobs:
python-version: ${{ matrix.python-version }}

- name: Install Poetry
uses: snok/install-poetry@v1
uses: snok/install-poetry@v1.3.3
with:
version: 1.2.0rc2
virtualenvs-create: true
virtualenvs-in-project: true

Expand All @@ -37,7 +36,7 @@ jobs:
uses: actions/cache@v2
with:
path: .venv
key: venv-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('**/poetry.lock') }}-v2021-09-23
key: venv-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('**/poetry.lock') }}

- name: Install dependencies
run: poetry install
Expand Down
Loading

0 comments on commit dfec310

Please sign in to comment.