Releases: workflow/nix-shell-action
Releases · workflow/nix-shell-action
v4.0.0
Breaking Changes
- Nix >= 2.4 is now required. The pre-2.4
nix run nixpkgs.Xfallback and version-checking shell functions (verlte/verlt) have been removed. Only the modernnix shell nixpkgs#Xpath remains. (#365)
Other Changes
- Migrated to ESM with Rollup and Node 24
- Upgraded to ESLint 9 with flat config
- Dependency updates
Full Changelog: v3.4.0...v4.0.0
v3.4.0
What's Changed
- build(deps-dev): bump @eslint/js from 9.5.0 to 9.9.1 by @dependabot in #330
- build(deps-dev): bump globals from 15.6.0 to 15.9.0 by @dependabot in #328
- build(deps-dev): bump @vercel/ncc from 0.36.1 to 0.38.1 by @dependabot in #321
- build(deps): bump @actions/core from 1.10.0 to 1.10.1 by @dependabot in #319
- feat: custom devshell option by @workflow in #333
- chore: modernize by @workflow in #334
Full Changelog: v3.3.2...v3.4.0
v3.3.2
Bump Node.js to 20
Full Changelog: v3.3.1...v3.3.2
v3.3.1
What's Changed
- build(deps-dev): bump @types/node from 18.11.18 to 20.8.0 by @dependabot in #308
- build(deps-dev): bump @babel/traverse from 7.17.3 to 7.24.7 by @dependabot in #314
- build(deps-dev): bump ws from 7.5.7 to 7.5.10 by @dependabot in #313
- build(deps-dev): bump typescript from 4.9.4 to 4.9.5 by @dependabot in #303
- build(deps-dev): bump tough-cookie from 4.0.0 to 4.1.4 by @dependabot in #312
- build(deps-dev): bump braces from 3.0.2 to 3.0.3 by @dependabot in #311
- build(deps-dev): bump eslint-plugin-github from 4.7.0 to 5.0.1 by @dependabot in #317
Full Changelog: v3.3.0...v3.3.1
Support DevShells
What's Changed
Automatic inputs from a flake.nix DevShell are now supported, thanks to @luchiniatwork 🎉
- build(deps-dev): bump prettier from 2.7.1 to 2.8.8 by @dependabot in #296
- build(deps-dev): bump @typescript-eslint/parser from 5.47.1 to 5.59.1 by @dependabot in #295
- build(deps-dev): bump eslint-plugin-github from 4.3.7 to 4.7.0 by @dependabot in #293
- Support devshell by @luchiniatwork in #297
- build(deps-dev): bump eslint-plugin-jest from 27.2.0 to 27.2.3 by @dependabot in #298
- build(deps-dev): bump @vercel/ncc from 0.34.0 to 0.36.1 by @dependabot in #282
New Contributors
- @luchiniatwork made their first contribution in #297
Full Changelog: v3.2.1...v3.3.0
v3.2.1
v3.2.0
What's Changed
- build(deps-dev): bump @typescript-eslint/parser from 5.37.0 to 5.47.1 by @dependabot in #273
- build(deps-dev): bump typescript from 4.8.3 to 4.9.4 by @dependabot in #272
- build(deps): bump json5 from 1.0.1 to 1.0.2 by @dependabot in #278
- feat: support working-directory option by @workflow in #279
Full Changelog: v3.1.0...v3.2.0
v3.1.0
Support Fully Qualified and Local Flakes
Instead of specifying packages, you can use flakes to specify fully qualified flakes to be available in your script.
This can be used for both local flakes in a flake.nix in your repo, as well as external flakes.
name: "Test"
on:
pull_request:
push:
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Nix
uses: cachix/install-nix-action@v18
with:
extra_nix_config: |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- uses: workflow/nix-shell-action@v3
with:
flakes: .#hello,nixpkgs#docker
script: |
# Runs hello from a local flake.nix
hello
# Uses docker from the nixpkgs registry (see https://raw.githubusercontent.com/NixOS/flake-registry/master/flake-registry.json)
command -v dockerFix Noisy Error and Update Deps
What's Changed
- Bump @actions/core from 1.6.0 to 1.7.0 by @dependabot in #229
- Bump typescript from 4.6.3 to 4.6.4 by @dependabot in #228
- Bump eslint-plugin-jest from 26.1.3 to 26.1.5 by @dependabot in #227
- Bump @vercel/ncc from 0.33.3 to 0.33.4 by @dependabot in #226
- Bump @types/node from 16.11.6 to 17.0.30 by @dependabot in #225
- Bump prettier from 2.6.1 to 2.6.2 by @dependabot in #233
- Bump @actions/core from 1.7.0 to 1.8.0 by @dependabot in #234
- Bump @types/node from 16.11.6 to 17.0.32 by @dependabot in #232
- Bump @typescript-eslint/parser from 5.17.0 to 5.23.0 by @dependabot in #231
- fix: properly branch between legacy and newer nix by @workflow in #253
- docs: add github token example by @workflow in #258
- Bump typescript from 4.6.4 to 4.8.3 by @dependabot in #257
- Bump eslint-plugin-jest from 26.1.5 to 27.0.4 by @dependabot in #256
- Bump @types/node from 17.0.32 to 18.7.18 by @dependabot in #255
- build(deps-dev): bump prettier from 2.6.2 to 2.7.1 by @dependabot in #259
- Bump @typescript-eslint/parser from 5.23.0 to 5.37.0 by @dependabot in #254
- Bump @actions/core from 1.8.0 to 1.9.1 by @dependabot in #248
- Bump @vercel/ncc from 0.33.4 to 0.34.0 by @dependabot in #236
- build(deps-dev): bump eslint-plugin-github from 4.3.6 to 4.3.7 by @dependabot in #260
Thanks to @milahu in #244 for the branching fix.
Full Changelog: v3.0.2...v3.0.3
Update internal dependencies
Bump prettier from 2.5.1 to 2.6.1 (#220) Bumps [prettier](https://github.com/prettier/prettier) from 2.5.1 to 2.6.1. - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](https://github.com/prettier/prettier/compare/2.5.1...2.6.1) --- updated-dependencies: - dependency-name: prettier dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>