Commit graph

73 commits

Author SHA1 Message Date
Domen Kožar
0860b5d064
Fix CI 2020-05-27 17:07:40 +02:00
Domen Kožar
d79cfd988b
Update README.md 2020-05-27 16:59:34 +02:00
Domen Kožar
21633808a1
fix build 2020-05-12 13:07:35 +02:00
Domen Kožar
181320929a
CI: guard against uncommitted changes 2020-05-12 12:59:11 +02:00
Domen Kožar
0a765b01e8
Merge pull request #45 from cachix/ignore-garbage-collected
Ignore garbage collected
2020-05-12 11:21:10 +02:00
Domen Kožar
6a2b9a1715
rework CI 2020-05-12 11:05:09 +02:00
Domen Kožar
13e2cf25a1
Don't try to push store paths that were GCed
Previously we'd only push unique paths before/after the job,
but that's not good enough because someone might run garbage
collection.

Now we only push unique store paths that are in the list of
when the job finished.
2020-05-12 10:50:05 +02:00
Domen Kožar
6749aef225
Merge pull request #42 from cachix/domenkozar-patch-1
README: clarify on security
2020-04-24 13:57:11 +02:00
Domen Kožar
bfb80e965d
Update README.md
Co-Authored-By: Joachim Breitner <mail@joachim-breitner.de>
2020-04-24 13:57:05 +02:00
Domen Kožar
03b6d2e977
README: clarify on security 2020-04-24 12:41:50 +02:00
Domen Kožar
6ca1a9b396
README: bump version 2020-04-22 16:42:51 +02:00
Domen Kožar
490a246fbc
Merge pull request #37 from numtide/only-cache
RFC: save cache on post
2020-04-21 16:23:58 +02:00
zimbatm
b8b745f3a7
WIP: save cache on post
Instead of trying to do everything in the action, push the cache at the
end. This allows to run other actions in between.
2020-04-17 12:20:05 +02:00
Domen Kožar
8580a77df6
Merge pull request #39 from Mic92/quiet
Quiet cachix install
2020-04-16 09:44:33 +02:00
Jörg Thalheim
36fc8c5254
Make cachix install quiet
Since this mainly downloads dependencies, removing it, removes some noise.
2020-04-16 05:19:59 +01:00
Jörg Thalheim
943a92d48d
add shell.nix for development 2020-04-16 05:18:25 +01:00
Domen Kožar
90e72ecbb7
Merge pull request #38 from numtide/embed-node-modules
Embed node modules
2020-04-15 20:41:07 +02:00
zimbatm
b6f02e1d4f
bundle all the dependencies 2020-04-10 14:55:10 +02:00
zimbatm
697e60c619
yarn update 2020-04-10 14:20:54 +02:00
zimbatm
15f28bd68f
remove unused dependencies 2020-04-10 14:19:30 +02:00
Domen Kožar
08555b2b45
Merge pull request #35 from cachix/dependabot/npm_and_yarn/acorn-5.7.4
Bump acorn from 5.7.3 to 5.7.4
2020-04-10 13:12:59 +02:00
dependabot[bot]
8c9349a935
Bump acorn from 5.7.3 to 5.7.4
Bumps [acorn](https://github.com/acornjs/acorn) from 5.7.3 to 5.7.4.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/5.7.3...5.7.4)

Signed-off-by: dependabot[bot] <support@github.com>
2020-04-05 05:48:37 +00:00
Domen Kožar
1dd5cf8e47
README: bump actions 2020-03-14 12:02:12 +01:00
Domen Kožar
3e72fb4d42
README: bump actions 2020-03-14 12:01:51 +01:00
Domen Kožar
255c2ed649
bump github actions 2020-03-14 11:56:25 +01:00
Domen Kožar
a8b57eca98
Merge pull request #34 from cachix/log-consistency
A tiny bit more consistent logging
2020-03-14 11:55:33 +01:00
Domen Kožar
e1a832de5b
A tiny bit more consistent logging 2020-03-14 11:49:51 +01:00
Domen Kožar
a35cbf6bfb
README: bump actions 2020-03-01 11:47:21 +01:00
Domen Kožar
9cc8b08cb0
Merge pull request #31 from cachix/fix-pr-build
call nix-build even if signing key is not set
2020-03-01 11:18:00 +01:00
Domen Kožar
a3cf8f1b39
call nix-build even if signing key is not set 2020-02-29 18:27:13 +01:00
Domen Kožar
7bea2cc0c1
Simplify how paths are pushed
Previously we were setting up Nix build hook to make sure all paths are
synced to cachix.

This had a few flaws:

- nix-daemon had to be restarted, resulting into a few seconds extra
  setup per each build
- spurious error on macos due to nix-daemon socket not ready in time
- significant overhead since syncing to cachix was synchronous for each
  derivation built

Now we just look for new store paths and push those after nix-build.
2020-02-27 16:51:03 +01:00
Domen Kožar
89036a5745
README: make steps headings 2020-02-27 16:46:25 +01:00
Tobias Happ
a03feca499
Add nixBuildArgs parameter 2020-02-27 16:46:25 +01:00
Domen Kožar
a7cff0bb28
README: bump 2020-02-27 16:46:24 +01:00
Domen Kožar
76bd1745d3
Allow Nix to be installed in single-user mode
(cherry picked from commit 476599180e7c5d616cb06a852a564bd56298e468)
Signed-off-by: Domen Kožar <domen@dev.si>
2020-02-27 16:46:24 +01:00
Domen Kožar
a174b4716e
fix pushing of paths 2020-02-27 16:46:24 +01:00
Domen Kožar
9f2618ea36
run skipNixBuild scenario on CI 2020-02-27 16:46:24 +01:00
Domen Kožar
4f0d7f12ae
Update README.md
Co-Authored-By: Robert Hensing <roberth@users.noreply.github.com>
2019-12-19 18:01:20 +01:00
Domen Kožar
cdc802d712
README: wording on why 2019-12-19 17:54:19 +01:00
Domen Kožar
f5d3d34d0c
Update README.md
Co-Authored-By: Robert Hensing <roberth@users.noreply.github.com>
2019-12-19 17:52:36 +01:00
Domen Kožar
074294984a
Allow skipping nix-build 2019-12-19 17:23:34 +01:00
Domen Kožar
7fd13f5091
use cachix official installation url 2019-12-17 19:28:50 +01:00
Domen Kožar
b4608ff1aa
README: explain why this action is needed and elaborate on setup 2019-12-17 19:27:23 +01:00
Domen Kožar
fdfd300632
bump 2019-11-20 15:41:46 +01:00
Domen Kožar
d86d78194d
bump 2019-11-20 15:39:38 +01:00
Domen Kožar
a633961ccc
README: clarify cache name 2019-10-03 17:46:56 +02:00
Domen Kožar
01433080c8
bump 2019-10-03 17:41:53 +02:00
Domen Kožar
affb020ba4
README: hint to action options 2019-10-03 17:27:37 +02:00
Domen Kožar
9e7ef4fd59
Merge pull request #5 from cachix/no-signing-key
Support running as a PR
2019-10-03 16:47:27 +02:00
Domen Kožar
49264ff2e8
Update src/main.ts
Co-Authored-By: Robert Hensing <roberth@users.noreply.github.com>
2019-10-03 16:42:28 +02:00