Commit graph

51 commits

Author SHA1 Message Date
adisbladis
10a54f8517 Disable dependabot
If we are to bring it back again I want it to aggregate updates into a single PR.
As it is now it's annoyingly many PRs, and I think it doesn't provide us much value.
2023-03-30 01:38:16 +13:00
Victor Engmark
1495d30db6 fix: Use new output syntax
See
<https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/>
and
<https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#environment-files>.
2023-03-25 15:25:55 +13:00
José Luis Lafuente
5e1b88df7c
Update install-nix-action
nix 2.14 broke the action, see:
https://github.com/cachix/install-nix-action/pull/163
2023-03-01 17:58:37 +01:00
dependabot[bot]
1f626147bf
build(deps): bump cachix/install-nix-action from 18 to 19
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 18 to 19.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v18...v19)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-27 07:07:05 +00:00
Victor Engmark
c57a16f773 chore: Remove Python 2 compatibility
From the build:

> Package ‘python-2.7.18.6’ in
> /nix/store/n5hj62lgkwvz3gqnp4l4nxzjnadh7y54-source/pkgs/development/interpreters/python/cpython/2.7/default.nix:330
> is marked as insecure, refusing to evaluate.

and

> Python 2.7 has reached its end of life after 2020-01-01. See
> https://www.python.org/doc/sunset-python-2/.

Necessary to bump nixpkgs
<https://github.com/nix-community/poetry2nix/pull/996>.
2023-02-27 13:16:42 +13:00
adisbladis
654c5b6322
Merge pull request #972 from l0b0/feat/sort-build-systems
feat: Verify that build systems are sorted
2023-02-27 12:55:38 +13:00
dependabot[bot]
1a1292af2e
build(deps): bump cachix/install-nix-action from 18 to 19
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 18 to 19.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v18...v19)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-13 07:05:27 +00:00
Victor Engmark
57f3937822 feat: Verify that build systems are sorted 2023-02-02 15:56:36 +13:00
Victor Engmark
c2d67ebfc6 fix: Point Dependabot to directory with poetry.lock file
Otherwise it won't update.
2023-01-20 15:50:13 +13:00
Raphael Das Gupta
f68311cf53 issue template: add syntax highlighting
We do know what languages we expect in the files
we ask the issue author to provide in the "Additional context" section,
so let's set up proper syntax highlighting for them.
2023-01-06 16:29:44 +01:00
Raphael Das Gupta
46e872f491 issue template: remove bullet list
A bullet list would make sense
if the code blocks would be part of the items.
To make a code block part of a list item in Markdown,
it would though have to be indented
which is either too laborious (when indenting all lines)
or too confusing (when indenting only the opening line).
If they aren't indented, they'd interrupt the list
(thus effectively splitting it into 3 one-item lists)
so let's instead just have the file names
as prose-ish captions of the code blocks.
2023-01-06 16:29:36 +01:00
Phillip Cloud
46905875d1
ci: run macos jobs on a single instance 2022-12-18 19:46:19 -05:00
Phillip Cloud
c48b4b3ed2
ci: bump github actions versions and add to dependabot 2022-12-18 16:19:01 -05:00
Phillip Cloud
4c1c4463f1
ci: cancel duplicate CI runs 2022-12-18 11:37:07 -05:00
adisbladis
64ee2bfe1f .github: Hard code cachix key in workflow yaml
So that contributors can iterate on PRs and benefit from caching.
2022-05-10 09:00:42 +12:00
adisbladis
4ef7fff09f .github: Appease the Github YAML parser... 2022-05-10 07:53:16 +12:00
adisbladis
efe5cbb217 github.builds: Only pull in nix-build-uncached in nix-shell invocation for builds 2022-05-10 07:46:11 +12:00
adisbladis
e622945c72 github.black-fmt: Only pull in Python environment for black format check 2022-05-10 07:45:15 +12:00
adisbladis
6050e255ea github.nixpkgs-fmt: Only use nixpkgs-fmt in workflow check 2022-05-10 07:44:18 +12:00
adisbladis
e03a02c20a github.py2-compat: Only use astparse tool in workflow check 2022-05-10 07:43:01 +12:00
Andrey "MOU" Larionov
2b413427c1
Document explaining known issues with python packages
Also corresponding changes in issue template to
reference new document.
2022-01-26 14:20:53 +03:00
adisbladis
ab4aef7037 Enable CI on MacOS 2022-01-22 10:36:31 +12:00
adisbladis
0f40952013 Show full log in build output in CI 2022-01-22 10:07:15 +12:00
adisbladis
044d7d70fc Add development tool to automatically derive build-systems from nixpkgs 2022-01-21 14:25:21 +12:00
adisbladis
f95121b884 Add CI job for black formatting 2022-01-12 18:48:06 +13:00
adisbladis
7a7dcbe2e1 Add CI job for Python2 compat checks 2022-01-12 18:48:06 +13:00
adisbladis
9e9bcb70d2 Add dependabot configuration to update Poetry
But we don't want to auto-bump tests for obvious reasons.
2022-01-03 05:55:31 +00:00
Phillip Cloud
bb7e977729
ci: remove jq formatting 2021-12-30 07:25:48 -05:00
Phillip Cloud
e303e801c9
ci: bump to install cachix action v16 2021-12-30 07:24:08 -05:00
Phillip Cloud
5303a36635
ci: use jq to construct builds matrix 2021-12-30 07:23:53 -05:00
adisbladis
e85a2fd17e Add about section to issue template 2021-12-27 17:21:00 -08:00
adisbladis
3eb96f27dd Add a github issue template
And urge people not to create issues for things which aren't
actionable for us as poetry2nix maintainers.
2021-12-27 17:13:49 -08:00
adisbladis
3f40ecc951 Switch testing strategy on Github Actions to one based on a dynamic matrix
Currently the output is unreadable (I have no idea without digging _what_ test failed).
2021-12-25 21:35:23 -08:00
Bernardo Meurer
b0a3580958
ci: actions/checkout v1 -> v2.4.0 2021-11-04 12:53:38 -07:00
Bernardo Meurer
6f3e13ba95
ci: cachix/cachix-action v8 -> v10 2021-11-04 12:52:42 -07:00
Bernardo Meurer
056853a105
ci: cachix/install-nix-action v13 -> v14 2021-11-04 12:52:07 -07:00
Bernardo Meurer
c24c02f260
ci: add nix-command to nix's experimental features 2021-11-04 12:51:50 -07:00
adisbladis
9ae506a765
ci: Use nix-build-uncached to speed up CI runs 2021-08-11 18:15:42 -05:00
adisbladis
3ffd5f7389
Pin nixpkgs in tests
I've had enough with nixpkgs breakage affecting our tests...
2021-02-21 11:54:33 +01:00
adisbladis
7e29a62fac
github: Switch from master to nixos-unstable for CI 2021-02-20 17:04:08 +01:00
adisbladis
4523826243
Use nix-build --keep-going in CI
We want to get as many binaries as possible in the binary cache, even if a single dependency fails.
2020-11-26 19:08:29 +01:00
adisbladis
f3a7d429b4
Only run CI on master
Unstable is broken atm and I want to cut a release
2020-11-26 13:51:42 +01:00
adisbladis
6fbec0342c
Hard code unstable
Is github actions drunk? Idk, but the matrix setup isn't working...
2020-11-24 23:06:34 +01:00
adisbladis
c72860f2bd
Attempt fixing matrix env 2020-11-24 19:41:00 +01:00
adisbladis
9b17586988
Bump cachix-action 2020-11-24 19:37:14 +01:00
adisbladis
2da24c7f4c
Bump install-nix-action 2020-11-24 19:36:11 +01:00
adisbladis
8b6a073cbb
Bump install-nix-action 2020-11-24 19:35:42 +01:00
adisbladis
352eff7d07
ci: Bump cachix action to v6 2020-07-01 10:36:07 +02:00
adisbladis
ffda369845
ci: Bump stable to 20.03 2020-07-01 10:24:00 +02:00
adisbladis
32dfe63d4d
Add Cachix to Github workflows 2020-04-15 15:19:36 +01:00