Skip to content

Commit 55d653f

Browse files
committed
Workflow update
1 parent 28429bc commit 55d653f

2 files changed

Lines changed: 12 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,15 @@ on:
44
push:
55
branches: ["**"]
66
pull_request:
7-
workflow_dispatch:
7+
release:
8+
types: [published]
89

9-
permissions:
10-
contents: read
10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
12+
cancel-in-progress: true
13+
14+
env:
15+
FORCE_COLOR: 1
1116

1217
jobs:
1318
package:
@@ -21,6 +26,8 @@ jobs:
2126
- uses: actions/checkout@v5
2227
with:
2328
fetch-depth: 0
29+
- uses: hynek/build-and-inspect-python-package@v2
30+
2431

2532
test:
2633
needs: [package]
@@ -83,6 +90,7 @@ jobs:
8390
assert any(ep.name=='waveshare' for ep in eps), eps
8491
print("Installed wheel exposes entry point OK.")
8592
PY
93+
8694
- uses: actions/download-artifact@v5
8795
with:
8896
name: Packages

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ dynamic = ["version"]
88
description = "python-can backend for Waveshare 2-CH-CAN-TO-ETH (13-byte TCP wire format over TCP)"
99
readme = "README.md"
1010
requires-python = ">=3.10"
11-
license = { text = "Apache-2.0" }
11+
license = "Apache-2.0"
1212
authors = [{ name = "Klaudiusz Staniek" }]
1313
dependencies = ["python-can>=4.2"]
1414

0 commit comments

Comments
 (0)