Skip to content

Commit

Permalink
refactor: update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
dbrennand committed May 18, 2024
1 parent a8cfaba commit 5dddc7c
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,17 @@ on:
- push

jobs:
Test:
ci:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Set up Python
id: setup-python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.7

- name: Load cached Poetry installation
uses: actions/cache@v2
with:
path: ~/.local
key: poetry-0
python-version: 3.12

- name: Install Poetry
uses: snok/install-poetry@v1
Expand All @@ -31,7 +25,7 @@ jobs:

- name: Load cached venv
id: cached-poetry-dependencies
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: .venv
key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
Expand Down

0 comments on commit 5dddc7c

Please sign in to comment.