Commit graph

58 commits

Author SHA1 Message Date
Phillip Cloud
733412c33f
chore: use nix-shell 2023-10-25 04:46:52 -04:00
Phillip Cloud
8610d83b31
ci: use runner commands 2023-10-24 17:22:01 -04:00
Phillip Cloud
a86df00ebb
ci: use nix commands 2023-10-24 17:21:01 -04:00
Phillip Cloud
e23218d159
Merge pull request #1327 from nix-community/renovate/all
chore(deps): update all dependencies
2023-10-05 13:30:12 +00:00
renovate[bot]
8f00747a88
chore(deps): update all dependencies 2023-10-02 02:00:47 +00:00
Victor Engmark
5597b84d5e
refactor: Pull jq filter into a file and format it
Makes the filter much easier to read, now that it's getting more complex.
2023-09-26 13:17:25 +13:00
Victor Engmark
63e3465982
feat: Sort entries with an until field above entries with a from field
Improves consistency. Most entries are already sorted this way.

Improves readability, since entries are now sorted in increasing
chronological order.

Helps with #1320.
2023-09-26 13:16:48 +13:00
Victor Engmark
e40f2180c0
feat: Print unified diff between sorted and unsorted JSON
Easier to read, and can be piped directly into `patch -p0`.
2023-09-26 12:52:16 +13:00
Victor Engmark
b5f796541d
feat: Sort string overrides alphabetically
Improves consistency and readability.

Helps with #1320.
2023-09-26 12:51:51 +13:00
adisbladis
96d87dcbd5 Migrate from Niv to Flakes
It's annoying to have two incompatible version managers.
2023-07-14 19:21:55 +12:00
adisbladis
3f72aebfae Redefine Github Actions in Nix using nix-github-actions 2023-07-12 17:45:39 +12:00
adisbladis
9e691dfa56 ci: Get rid of nix-build-uncached
It seemingly broke and just returns zero regardless of builds having to be done.
2023-07-12 14:28:12 +12:00
Phillip Cloud
48ca5ef37a
ci: add merge_group event 2023-07-10 07:20:29 -05:00
Phillip Cloud
022fd05191
ci: make job to collect all upstream jobs to enable a status check 2023-07-10 07:19:02 -05:00
adisbladis
0fa7600b1c .github/workflows: install-nix-action: 20 -> 22 2023-06-21 04:03:14 +12: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
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
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
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
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