Skip to content

Commit 10450f4

Browse files
committed
πŸ‘· ci: improve actions
1 parent da1fed8 commit 10450f4

File tree

4 files changed

+8
-13
lines changed

4 files changed

+8
-13
lines changed

β€Ž.github/workflows/build.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ on:
44
push:
55
branches: [main]
66
pull_request:
7-
workflow_dispatch:
87

98
permissions:
109
contents: write

β€Ž.github/workflows/codestyle.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,25 +4,19 @@ on:
44
push:
55
branches: [main]
66
pull_request:
7-
workflow_dispatch:
87

98
jobs:
109
code-style-check:
1110
runs-on: ubuntu-latest
1211
name: CodeStyle Check
1312
steps:
14-
- name: Checkout
13+
- name: Checkout πŸ“¦
1514
uses: actions/checkout@v3
1615

17-
- name: Install python
16+
- name: Install python πŸ“¦
1817
uses: actions/setup-python@v4
1918
with:
2019
python-version: "3.12"
2120

22-
- name: Install dependencies
23-
run: |
24-
pip install -e .[all]
25-
pip install pytest
26-
27-
- name: Run pre-commit
21+
- name: Run pre-commit βœ…
2822
uses: pre-commit/[email protected]

β€Ž.github/workflows/publish.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ jobs:
1515
permissions:
1616
id-token: write
1717
steps:
18-
- name: Checkout
18+
- name: Checkout πŸ“¦
1919
uses: actions/checkout@v3
20-
- name: Setup PDM
20+
- name: Setup PDM πŸ“¦
2121
uses: pdm-project/setup-pdm@v3
2222
with:
2323
python-version: "3.12"
@@ -40,6 +40,8 @@ jobs:
4040
permissions:
4141
id-token: write
4242
steps:
43+
- name: Checkout πŸ“¦
44+
uses: actions/checkout@v3
4345
- name: Download wheels πŸ‘·β€β™‚οΈ
4446
uses: actions/download-artifact@v3
4547
with:

β€Žpyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ watch = ["watchfiles"]
2020
all = ["pyfuture[watch]"]
2121

2222
[project.urls]
23-
Homepage = "https://pypi.org/project/pyfuture"
23+
Homepage = "https://github.com/zrr-lab/pyfuture.git"
2424
Repository = "https://github.com/zrr-lab/pyfuture.git"
2525

2626
[project.scripts]

0 commit comments

Comments
Β (0)