mirror of https://github.com/devine-dl/devine.git
Update Actions in GitHub Actions CI/CD workflows
This commit is contained in:
parent
1c5099440b
commit
3ae0fb3454
|
@ -1,4 +1,9 @@
|
|||
name: cd
|
||||
permissions:
|
||||
contents: "write"
|
||||
id-token: "write"
|
||||
packages: "write"
|
||||
pull-requests: "read"
|
||||
|
||||
on:
|
||||
push:
|
||||
|
@ -16,15 +21,15 @@ jobs:
|
|||
with:
|
||||
python-version: '3.10.x'
|
||||
- name: Install Poetry
|
||||
uses: abatilo/actions-poetry@v2.2.0
|
||||
uses: abatilo/actions-poetry@v2.3.0
|
||||
with:
|
||||
poetry-version: '1.3.2'
|
||||
poetry-version: '1.4.2'
|
||||
- name: Install dependencies
|
||||
run: poetry install
|
||||
- name: Build wheel
|
||||
run: poetry build -f wheel
|
||||
- name: Build project
|
||||
run: poetry build
|
||||
- name: Upload wheel
|
||||
uses: actions/upload-artifact@v2.2.4
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: Python Wheel
|
||||
path: "dist/*.whl"
|
||||
|
|
|
@ -29,9 +29,9 @@ jobs:
|
|||
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
|
||||
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
|
||||
- name: Install poetry
|
||||
uses: abatilo/actions-poetry@v2.2.0
|
||||
uses: abatilo/actions-poetry@v2.3.0
|
||||
with:
|
||||
poetry-version: 1.3.2
|
||||
poetry-version: 1.4.2
|
||||
- name: Install project
|
||||
run: poetry install --no-dev
|
||||
- name: Build project
|
||||
|
|
Loading…
Reference in New Issue