Commit graph

294 commits

Author SHA1 Message Date
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
dependabot[bot]
4e13e47759
chore(deps): bump actions/setup-go from 2.2.0 to 3
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 2.2.0 to 3.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v2.2.0...v3)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-30 09:09:18 +00:00
Domen Kožar
8e09c9a051
Merge pull request #129 from cachix/dependabot/npm_and_yarn/minimist-1.2.6
chore(deps): bump minimist from 1.2.5 to 1.2.6
2022-03-30 10:08:48 +01:00
Domen Kožar
9cc5350a25
Merge pull request #124 from cachix/dependabot/github_actions/actions/checkout-3
chore(deps): bump actions/checkout from 2.4.0 to 3
2022-03-30 10:08:38 +01:00
Domen Kožar
9d24e62654
Merge pull request #130 from ncfavier/user-profile
install-nix.sh: ensure user profile comes before default profile in PATH
2022-03-30 10:08:23 +01:00
Domen Kožar
1f78d3968e
Merge pull request #132 from lovesegfault/fix-nix-conf-copy
fix: use sudo to place /etc/nix/nix.conf
2022-03-30 09:41:33 +01:00
dependabot[bot]
0c1cffea0a
chore(deps): bump actions/checkout from 2.4.0 to 3
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.4.0 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2.4.0...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-30 08:41:13 +00:00
Domen Kožar
106f85df37
Merge pull request #131 from lovesegfault/curl-quiet
refactor(lib/install-nix): quiet down curl spam
2022-03-30 09:40:45 +01:00
Domen Kožar
83e7d631c6
Merge pull request #128 from cachix/fix-ci
fix ci
2022-03-30 09:40:06 +01:00
Bernardo Meurer
d59a4dfc97 fix: use sudo to place /etc/nix/nix.conf 2022-03-29 14:00:26 -07:00
Bernardo Meurer
1544c90451
refactor(lib/install-nix): quiet down curl spam 2022-03-25 15:35:01 -07:00