Commit graph

82 commits

Author SHA1 Message Date
Phillip Cloud
1dd09aec59
ci: allow more concurrency in CI 2024-05-02 09:57:28 -04:00
renovate[bot]
700a6e3453
chore(deps): update all dependencies 2024-03-08 07:23:08 +00:00
zowoq
c12ac88011 .github/workflows/ci.yml: set concurrency, max-parallel for nix-build 2023-12-12 20:10:04 +13:00
renovate[bot]
7eaec20968 chore(deps): update all dependencies 2023-12-04 02:14:59 +00:00
adisbladis
506262f445 github: Make release blocked by collect 2023-11-09 18:56:19 +13:00
adisbladis
5609722465 templates/app: Add missing pyproject.toml & poetry.lock files
We didn't need them before, but as the flake template now refers to
stuff which uses these files to evaluate we must add them to the repo.
2023-11-09 18:56:19 +13:00
Pegasust
ce3a7b1f50 ci(flake): collect nix-flake-show, remove nix-flake-check (nix-github-actions already do this) 2023-11-06 10:47:14 +13:00
Pegasust
3f76088b2d ci(flake): add checks for flake outputs integrity 2023-11-06 10:47:14 +13:00
Phillip Cloud
53473ab549
chore: ensure that ci fails when matrix construction errors 2023-10-28 07:37:10 -04:00
Phillip Cloud
f2fd936712
ci: remove non-existent job; add nix-build 2023-10-28 07:10:49 -04:00
Phillip Cloud
b395d346b1
ci: remove redundant build-systems order check 2023-10-28 07:00:03 -04:00
Phillip Cloud
50185c6934
ci: add job to build devShell 2023-10-28 06:13:48 -04:00
K900
cfc8686dbf fix: use current flake for template test 2023-10-27 01:30:17 +03:00
Phillip Cloud
23e7cd6263
chore: clean up whitespace 2023-10-26 06:41:48 -04:00
Phillip Cloud
00a1ee4b58
ci: add README to flake test 2023-10-26 06:41:32 -04:00
Phillip Cloud
debdc442a6
ci: create a minimal package 2023-10-26 06:38:38 -04:00
Phillip Cloud
9d0f5707c5
ci: use src for template 2023-10-26 06:32:20 -04:00
Phillip Cloud
8178579a7f
test: add test for template 2023-10-26 06:27:56 -04:00
adisbladis
a36613636d chore: Add treefmt 2023-10-26 12:23:25 +13:00
Phillip Cloud
846372964a
chore: build as far as possible 2023-10-25 04:52:18 -04:00
Phillip Cloud
6775f89983
chore: do not fail fast in CI for nix-build jobs 2023-10-25 04:50:27 -04:00
Phillip Cloud
b3d597d42c
chore: use exit 0 instead of YAML true constant 2023-10-25 04:48:08 -04:00
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
f9c886e188 github actions: Don't set pre-release 2023-07-07 23:52:49 +12:00
adisbladis
52850e7d53 Auto-release using a date-based tag on master push 2023-07-07 23:49:48 +12: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