Commit Graph

28 Commits

Author SHA1 Message Date
Gary Gale
b39792f967 fix #378: Bump actions/cache from 3 to 4 2025-01-17 17:23:49 +00:00
Gary Gale
ce1ef73f08 fix #359: Bump actions/download-artifact from 2 to 4 2025-01-17 17:23:08 +00:00
Gary Gale
5651e50534 fix #360: Bump actions/upload-artifact from 3 to 4 2025-01-17 17:22:28 +00:00
Gary Gale
8356502a00 fix #358: Bump github/codeql-action from 2 to 3 2025-01-17 17:21:23 +00:00
Gary Gale
f3293ad220 fix #293: Bump actions/checkout from 2 to 4 2025-01-17 17:17:14 +00:00
Gary Gale
6ea931a166 test #459: only run GHA pipeline build and publish jobs on main 2025-01-17 16:51:49 +00:00
Gary Gale
73a51fb980 test #459: allow GHA pipeline to run on release-* branches 2025-01-17 16:40:50 +00:00
long2ice
567934300b ci: remove py37 2024-07-24 23:42:19 +08:00
dependabot[bot]
583df36da1 Bump actions/setup-python from 4 to 5
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-07 08:11:07 +00:00
Martijn Pieters
42cb99d4eb 📣 Start managing the changelog with towncrier
This PR includes a workflow that validates that future PRs include
a changelog entry (unless the `skip-changelog` label is present on the
PR, or the PR is a dependabot PR).

Use 'poetry run towncrier create` to create entries for the changelog.
2023-05-17 17:31:03 +01:00
Martijn Pieters
282fcc7cea 📦 Move PyPI release workflow into the main workflow.
This ensures that any releases are fully tested before publication.

The workflow first builds the distribution files (sdist, wheel) before
using a deployment environment to publish these to PyPI, using the
GitHub actions OpenID support to authenticate with PyPI.
2023-05-17 11:33:25 +01:00
Martijn Pieters
3e7deea2ba Correct merge metadata step id, loosen version (#165) 2023-05-16 13:31:55 +00:00
Martijn Pieters
452eaedf5b 🤦 put dependabot wf in correct place (#164) 2023-05-16 13:24:45 +00:00
Martijn Pieters
bb12a91b58 Create codeql scanning workflow (#161)
This helps find any security issues in PRs.
2023-05-16 13:14:58 +00:00
Martijn Pieters
1cf352bc9c CI: tox now takes care of extras and groups
The outer Poetry installation can be simplified as long as tox is part
of the dev group.
2023-05-16 12:29:18 +01:00
Martijn Pieters
0e9a8baeb2 Add tox configuration
Tox manages test environments for all supported Python versions, as
well as linting and formatting tools. On GitHub, the test and lint
steps are kept as close as possible to the Makefile equivalents.
2023-05-16 10:49:17 +01:00
Martijn Pieters
b5aabaaf59 CI: cache the mypy cache for faster runs 2023-05-15 17:43:49 +01:00
Martijn Pieters
31d0b007cd CI: use a separate step to run linters
This makes it easier to separate linter dependencies from older Python
releases.
2023-05-15 17:30:06 +01:00
Martijn Pieters
4a012c7cae CI: don't run this workflow twice on a PR
If a maintainer pushes to a PR, the workflow push and pull_request events
both trigger. Limit the workflow to the main branch, explicitly.
2023-05-15 17:23:26 +01:00
Martijn Pieters
94a02733c8 Run tests on all supported Python versions. 2023-05-11 12:31:07 +01:00
long2ice
ee58f979d4 ci: fix workflows 2023-02-15 10:53:24 +08:00
long2ice
27acce3160 ci: fix poetry 2023-02-15 10:45:19 +08:00
mkdir700
c4ae7154fd ci: update version of actions 2022-11-05 22:21:35 +08:00
long2ice
4faa5b7101 update workflows 2021-10-19 11:56:51 +08:00
long2ice
c9e03ed9af update pypi.yml 2021-01-06 10:38:30 +08:00
long2ice
75b4547963 add no-store 2020-12-28 20:04:09 +08:00
long2ice
b14c6bbd73 update ci.yml 2020-08-26 20:52:49 +08:00
long2ice
b391e12e6a update ci 2020-08-26 20:49:59 +08:00