Commit Graph

254 Commits

Author SHA1 Message Date
Victor Engmark
1f1049f9b5 feat: Check formatting as part of CI 2023-06-06 09:31:22 +12:00
Victor Engmark
1d2ad3576d feat: Enable automatically formatting code using pre-commit 2023-06-06 09:31:22 +12:00
Victor Engmark
0df6e96f38 refactor: Format files using Prettier
Actual command: `nix-shell --packages nodePackages.prettier --pure --run
'prettier --write .'`.
2023-06-06 09:31:21 +12:00
Victor Engmark
fc65b450f1 feat: Configure editors
Based on the content of files already in the repo.
2023-06-06 09:30:13 +12:00
Victor Engmark
fb26efd01f chore: Ignore JetBrains IDEA configuration 2023-06-06 09:30:13 +12:00
Domen Kožar
4b933aa7eb Nix: 2.15.1 2023-05-24 13:31:13 +01:00
Domen Kožar
35806937f1
Merge pull request #179 from joergdw/fix-action-path
Fix action to make it work on custom containers;
2023-05-05 17:27:03 +01:00
Domen Kožar
3eb7a24508
Merge pull request #178 from cachix/docs/149
Document how to pass env vars to modern nix commands
2023-05-04 10:15:12 +01:00
sandydoo
840ed7ce9a
Document how to pass env vars to modern nix commands
Resolves #149.
2023-05-04 08:41:47 +00:00
Jörg Weisbarth
b2f4229533 Fix action to make it work on custom containers;
For further information, see: <https://github.com/actions/runner/issues/716#issuecomment-795238933>
2023-05-03 17:02:20 +02:00
Domen Kožar
e304541747 fix #170 2023-05-01 13:29:04 +01:00
Domen Kožar
3988b729f9 pin Nix to 2.15.0 2023-05-01 13:27:11 +01:00
sandydoo
763a380571
Bump revision in README 2023-04-28 00:43:31 +00:00
Domen Kožar
67e9fd765d
bump revision in readme 2023-04-17 11:06:51 +01:00
Domen Kožar
be4cef7b77
Merge pull request #166 from l0b0/refactor/linting
refactor: Linting
2023-03-09 14:40:10 +04:00
Victor Engmark
3bdded02da refactor: Use consistent emptiness check 2023-03-09 10:30:16 +13:00
Victor Engmark
ac5ee67104 refactor: Simplify appending to file
Avoids one extra command, and removes the need for `tee`.
2023-03-09 10:27:14 +13:00
Victor Engmark
ef4bcbc79c refactor: De-dupe Nix path detection 2023-03-09 10:24:48 +13:00
Victor Engmark
e322e039f3 fix: Quote variable reference
As recommended by ShellCheck.
2023-03-09 10:23:20 +13:00
Domen Kožar
29bd9290ef
Merge pull request #163 from cachix/fix-nix-2.14
Support new Nix 2.14 profile PATH
2023-03-01 13:52:04 +08:00
Domen Kožar
167742cb88 don't insist $USER needs to be set 2023-03-01 05:51:32 +00:00
Domen Kožar
3755e30bd2 Support new Nix 2.14 profile PATH 2023-03-01 05:44:36 +00:00
Domen Kožar
193b0d85f5
Merge pull request #159 from cachix/update-readme
Update README for v19
2023-02-08 19:35:22 +07:00
sandydoo
cb6121cc54
Update README for v19 2023-02-06 15:00:46 +00:00
Domen Kožar
5c11eae19d
Merge pull request #158 from cachix/fix-test
update tests
2023-02-06 14:18:48 +01:00
Domen Kožar
846213dc1f update tests 2023-02-06 13:11:03 +00:00
Domen Kožar
bd6084e16e
Merge pull request #156 from InternetUnexplorer/update-readme
clarify behavior of github_access_token option
2023-02-06 07:13:26 +01:00
Domen Kožar
67388ca69e
Merge pull request #157 from zimbatm/default-token
Fix rate-limits by using github.token by default
2023-02-05 18:35:04 +01:00
zimbatm
a4b8aaf5a2
Fix rate-limits by using github.token by default
Turns out there is a default github token we can use to talk to github
and avoid the rate limit issues.
2023-02-05 16:55:28 +01:00
InternetUnexplorer
70980f045d clarify behavior of github_access_token option
This also fixes a typo and makes some other tiny changes that I noticed
when I was looking at the README.
2023-01-19 16:52:32 -08:00
Domen Kožar
25d64bbf11
Merge pull request #153 from InternetUnexplorer/master
fix typo in github_access_token option
2023-01-19 19:00:25 +00:00
InternetUnexplorer
b95f682503 fix typo in github_access_token option
add_config only takes one argument; this was causing Nix to error with
"illegal configuration line 'access-tokens' in '/etc/nix/nix.conf'"
2023-01-07 20:10:13 -08:00
Domen Kožar
b15708fdde
Merge pull request #152 from zimbatm/github-access-token
add github_access_token option
2022-12-30 13:05:17 +00:00
zimbatm
c04fcbc179
add github_access_token option
I'm starting to see rate limit issues with GitHub Actions more
frequently so I propose to make this option more readily available.
2022-12-29 23:28:06 +01:00
Domen Kožar
a590bb1bf6
Merge pull request #150 from daiseeai/master
Don't add daemon option if no-daemon is supplied
2022-12-21 15:24:16 +00:00
Carlos D
d0ac6617f6
Dont add daemon option if no-daemon is supplied 2022-12-16 13:43:21 +11:00
Domen Kožar
11f4ad19be
README: bump versions 2022-10-12 14:22:41 +01:00
Domen Kožar
daddc62a2e
Merge pull request #144 from cachix/fix-ci
try to fix act test
2022-10-12 15:15:08 +02:00
Domen Kožar
8500bf7aa6 try to fix act test 2022-10-12 14:12:49 +01:00
Domen Kožar
4024cf0f9d
Merge pull request #143 from ggreif/patch-1
readme: don't perpetuate old versions
2022-10-12 15:01:35 +02:00
Gabor Greif
3d1155ed72
readme: don't perpetuate old versions
(actually, `@v17` will still cause deprecation warnings, but I'll leave this for the upcoming release)
2022-10-12 14:29:44 +02:00
Domen Kožar
e17a164a72 fix #140: python -> python3 2022-08-05 10:35:03 +02:00
Domen Kožar
92d36226ca
Merge pull request #139 from sigprof/collapse-log-output
install-nix.sh: Collapse log messages
2022-07-13 15:20:48 -05:00
Sergey Vlasov
6c5ba55bfd install-nix.sh: Collapse log messages
The Nix installer produces a significant number of log messages, but
usually those messages are not really interesting.  Group those messages
under a header, so that GitHub will keep them collapsed by default.

(Usually log messages are collapsed under the step title anyway, but if
this action is uses inside another composite action, there is no
separate step title, therefore the whole Nix installer output is
immediately visible when the log section for the outer composite action
is expanded.  Adding the group header fixes this problem.)
2022-06-27 00:23:14 +03:00
Domen Kožar
451e611838
Merge pull request #134 from lovesegfault/composite-action
refactor: replace with a simpler composite action
2022-04-10 09:00:31 +01:00
Bernardo Meurer
112054fda7
refactor: replace with a simpler composite action 2022-04-08 13:53:49 -07:00
Domen Kožar
24e801e9d3
Merge pull request #123 from cachix/dependabot/github_actions/actions/setup-go-3
chore(deps): bump actions/setup-go from 2.2.0 to 3
2022-04-07 10:49:09 +01:00
Domen Kožar
d64e055310
Merge pull request #133 from Artturin/nixciupdate
workflows/test.yml use macos-latest again and use nix release with
2022-04-07 10:42:42 +01:00
Artturin
0d8fd4ba32 workflows/test.yml use macos-latest again and use nix release with
needed commit
2022-03-30 18:26:15 +03:00
Artturin
d8ecd385ef workflows/test.yml: remove trailing whitespaces 2022-03-30 18:17:54 +03:00