Skip to content

Commit

Permalink
Update build.yaml to use setup-python v4 (#509)
Browse files Browse the repository at this point in the history
* Update build.yaml

* using setup python v4 with pip cache on test_and_deploy
  • Loading branch information
LucaMarconato authored Mar 28, 2024
1 parent 1f74e77 commit ece18ea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.10
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: "3.10"
cache: pip
- name: Install build dependencies
run: python -m pip install --upgrade pip wheel twine build
- name: Build package
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,10 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
cache: pip

- name: Get pip cache dir
id: pip-cache-dir
Expand Down

0 comments on commit ece18ea

Please sign in to comment.