Commit graph

23 commits

Author SHA1 Message Date
Simon Willison
868d34d7b9 Test 0.64.x against Python 3.12
And drop 3.7 tests because it is not compatible with the new Black version
2024-06-21 16:36:04 -07:00
Simon Willison
6c941e30c5 More deploy workflow wrangling 2024-06-12 16:04:17 -07:00
Simon Willison
c302357dc3 Publish using gh-action-pypi-publish@release/v1 2024-06-12 15:57:37 -07:00
Simon Willison
cd65558aee setup-gcloud 318.0.0
Refs https://til.simonwillison.net/googlecloud/gcloud-error-workaround
2023-01-09 16:02:28 -08:00
Simon Willison
9ec58da6ec Deploy docs on publish using Python 3.9
A workaround for gcloud setup, see:

https://til.simonwillison.net/googlecloud/gcloud-error-workaround

Refs #1963
2022-12-17 19:24:34 -08:00
Simon Willison
d93f975b3d On publish run tests same way as for test 2022-12-17 18:52:52 -08:00
Simon Willison
e135da8efe
Python 3.11 in CI 2022-10-25 07:13:43 -07:00
Naveen
2e9751672d
chore: Set permissions for GitHub actions (#1740)
Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.

- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions

https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs

[Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/)

Signed-off-by: naveen <172697+naveensrinivasan@users.noreply.github.com>
2022-05-31 12:28:40 -07:00
Simon Willison
c4c9dbd038
google-github-actions/setup-gcloud@v0 2022-03-22 09:49:26 -07:00
Simon Willison
fae3983c51 Drop support for Python 3.6, closes #1577
Refs #1606
2022-01-19 20:31:22 -08:00
Simon Willison
3a2ed6300d Run tests on 3.10 during publish, refs #1482 2021-10-24 15:37:43 -07:00
Simon Willison
721a8d3cd4 Hopeful fix for publish problem in #1396 2021-07-14 18:51:36 -07:00
Simon Willison
953a64467d
Only publish stable docs on non-preview release
Refs https://github.com/simonw/datasette.io/issues/67
2021-06-24 09:42:02 -07:00
Simon Willison
7bc85b26d6 Deploy stable-docs.datasette.io on publish
Refs https://github.com/simonw/datasette.io/issues/67
2021-06-23 12:30:03 -07:00
Simon Willison
0486303b60 Explicitly push version tag, refs #1281 2021-03-28 18:42:42 -07:00
Simon Willison
13fd9bdf01
docker push --all-tags, refs #1281 2021-03-28 18:07:49 -07:00
Simon Willison
5fd0289065 Build Dockerfile with SpatiaLite 5, refs #1249 2021-03-26 21:27:40 -07:00
Simon Willison
6e091b14b6
Run tests against Python 3.9 2020-10-09 09:22:49 -07:00
Simon Willison
cb515a9d75
Don't push preleases to Docker Hub, refs #940 2020-09-14 15:09:03 -07:00
Simon Willison
30b98e4d29
Single, not double quotes - refs #940 2020-09-13 19:47:21 -07:00
Simon Willison
44cf424a94
Remove double colon, refs #956 2020-08-28 18:33:05 -07:00
Simon Willison
c36e287d71
Don't deploy alpha/betas to Docker Hub
Refs #956
2020-08-28 18:18:52 -07:00
Simon Willison
5e0b72247e
Run CI on GitHub Actions, not Travis
* Run CI on GitHub Actions, not Travis - refs #940
* Update documentation refs to Travis
* Release action now runs parallel tests, then pushes to PyPI, then Docker Hub
2020-08-17 22:09:34 -07:00