Commit graph

26 commits

Author SHA1 Message Date
dependabot[bot]
90fc5efb3b
chore(deps): bump cachix/install-nix-action from 25 to 26
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 25 to 26.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v25...v26)

---
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>
2024-03-11 15:28:34 +00:00
Nick Novitski
290301ab99
Merge pull request #12 from nicknovitski/dependabot/github_actions/cachix/install-nix-action-25
chore(deps): bump cachix/install-nix-action from 24 to 25
2024-02-16 15:17:03 -08:00
dependabot[bot]
984f5bf6bc
chore(deps): bump cachix/install-nix-action from 24 to 25
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 24 to 25.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v24...v25)

---
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>
2024-01-15 15:24:09 +00:00
Nick Novitski
b9531c0ce0
Merge pull request #9 from nicknovitski/dependabot/github_actions/cachix/install-nix-action-24
chore(deps): bump cachix/install-nix-action from 23 to 24
2023-12-13 13:07:00 -08:00
Nick Novitski
d7063eff4d
Merge pull request #10 from nicknovitski/dependabot/github_actions/actions/publish-action-0.3.0
chore(deps): bump actions/publish-action from 0.2.2 to 0.3.0
2023-12-13 13:05:28 -08:00
dependabot[bot]
4f4a58bfb2
chore(deps): bump actions/publish-action from 0.2.2 to 0.3.0
Bumps [actions/publish-action](https://github.com/actions/publish-action) from 0.2.2 to 0.3.0.
- [Commits](https://github.com/actions/publish-action/compare/v0.2.2...v0.3.0)

---
updated-dependencies:
- dependency-name: actions/publish-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-11 15:37:15 +00:00
dependabot[bot]
a02cd6078e
chore(deps): bump cachix/install-nix-action from 23 to 24
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 23 to 24.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v23...v24)

---
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-12-04 15:59:00 +00:00
Nick Novitski
a2060d116a Don't --ignore-environment
This leads to some surprising behavior, and I don't think it gives the benefits I thought it would.
2023-11-07 20:40:01 -08:00
Nick Novitski
66628a83db chore: Add workflow to keep major tags up-to-date 2023-10-31 08:19:08 -07:00
Nick Novitski
b01c276b7e
fix: add missing "v"s in readme 2023-10-30 18:27:13 -07:00
Nick Novitski
db9709622d
Revert name change 2023-10-28 09:16:17 -07:00
Nick Novitski
7e687c24bc
chore: consistent naming in action.yml 2023-10-28 09:09:50 -07:00
Nick Novitski
d568766b74
Merge pull request #2 from nicknovitski/dependabot/github_actions/cachix/install-nix-action-23
chore(deps): bump cachix/install-nix-action from 22 to 23
2023-10-28 09:05:07 -07:00
Nick Novitski
297b769f73 chore: Document 2023-10-28 09:01:57 -07:00
dependabot[bot]
253e364265
chore(deps): bump cachix/install-nix-action from 22 to 23
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 22 to 23.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v22...v23)

---
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-10-20 01:30:51 +00:00
Nick Novitski
611afb0051
Merge pull request #1 from nicknovitski/test-more-things
Test on macos-* runners and fix
2023-10-19 18:30:21 -07:00
Nick Novitski
2527420523
chore: Create dependabot.yml 2023-10-19 18:29:59 -07:00
Nick Novitski
e8d0a33c87 chore: Test on MacOS and with Determinate installer 2023-10-19 17:49:28 -07:00
Nick Novitski
9342b170fb fix: Runs on MacOS runners 2023-10-19 17:49:28 -07:00
Nick Novitski
2cd3e161f5 fix: Fail if build fails!
The pipefail option does not catch usage from subshells like this:

```
echo <<<"$(echo foo; exit 1)"
```

Since that's how `nix develop` is called in the script, when the action
could not build an environment, it would still be treated as having run
successfully, and the job would continue.

It's still hypothetically possible for this to happen if `env` or `bash
-c 'echo $PATH'` fail.  Seems unlikely!  But maybe there's something to
be done there.
2023-10-19 10:15:04 -07:00
Nick Novitski
f33559582d fix: Pass arguments
The INPUTS_* environment variables are not present in composite actions.
A flag interface seems more intuitive for local testing too.
2023-10-19 10:13:44 -07:00
Nick Novitski
c6e9a101ae feat: Don't add nonexistent directories to PATH 2023-10-18 22:11:13 -07:00
Nick Novitski
a30a7fa1b3 feat: Don't add empty or already-set variables 2023-10-18 22:09:38 -07:00
Nick Novitski
645aeb5651 feat: detect and fail on invalid delimiters 2023-10-18 20:52:41 -07:00
Nick Novitski
fa86b00e2a fix: support --keep flag in arguments
Achieved by consistently using `--ignore-environment` flag, even though
that's not strictly necessary.

Fixes using devenv, which requires `--keep PATH` to run its shellhook.
2023-10-18 20:37:01 -07:00
Nick Novitski
e10b9cffe9 Initial commit 2023-10-18 16:57:10 -07:00