Skip to content

Commit 22de6f4

Browse files
committed
treewide: replace nix with mise for tooling
- Add .mise.toml with Rust 1.85 - Update CI/release workflows to use jdx/mise-action - Remove all nix/devenv files (flake.nix, devenv.nix, etc.) - Remove .envrc (mise handles activation natively) - Update README installation section
1 parent 64a86b1 commit 22de6f4

File tree

11 files changed

+10
-240
lines changed

11 files changed

+10
-240
lines changed

.envrc

Lines changed: 0 additions & 12 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,12 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- uses: actions/checkout@v4
17-
- uses: dtolnay/rust-toolchain@stable
17+
- uses: jdx/mise-action@v2
1818
- run: cargo build
1919

2020
test:
2121
runs-on: ubuntu-latest
2222
steps:
2323
- uses: actions/checkout@v4
24-
- uses: dtolnay/rust-toolchain@stable
24+
- uses: jdx/mise-action@v2
2525
- run: cargo test
26-
27-
nix:
28-
runs-on: ubuntu-latest
29-
steps:
30-
- uses: actions/checkout@v4
31-
- uses: DeterminateSystems/nix-installer-action@main
32-
- run: nix run . -- --help

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- uses: actions/checkout@v4
16-
- uses: dtolnay/rust-toolchain@stable
16+
- uses: jdx/mise-action@v2
1717
- run: cargo build --release
1818

1919
- name: Upload artifact

.gitignore

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,5 @@
1-
# Devenv
2-
.devenv*
3-
devenv.local.nix
4-
devenv.local.yaml
5-
6-
# direnv
7-
.direnv
8-
91
# pre-commit
102
.pre-commit-config.yaml
113

12-
134
# Added by cargo
14-
155
/target
16-
17-
# nix
18-
result
19-
result-*

.mise.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[tools]
2+
rust = "1.85"

README.md

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,15 @@ Self-updating cron scheduler that pulls job definitions from git.
1010
cargo install --path .
1111
```
1212

13-
### Nix
13+
### mise
1414

15-
```bash
16-
# Run directly
17-
nix run github:ut-code/rollcron -- /path/to/repo
18-
19-
# Install
20-
nix profile install github:ut-code/rollcron
15+
This project uses [mise](https://mise.jdx.dev/) for tool version management. After installing mise:
2116

22-
# Open a shell
23-
nix shell github:ut-code/rollcron
17+
```bash
18+
mise install
19+
cargo install --path .
2420
```
2521

26-
I recommend installing this via https://github.com/aster-void/nix-repository for build cache.
27-
2822
## Quick Start
2923

3024
1. Create `rollcron.yaml` in your repository:

devenv.lock

Lines changed: 0 additions & 103 deletions
This file was deleted.

devenv.nix

Lines changed: 0 additions & 3 deletions
This file was deleted.

devenv.yaml

Lines changed: 0 additions & 15 deletions
This file was deleted.

flake.lock

Lines changed: 0 additions & 27 deletions
This file was deleted.

0 commit comments

Comments
 (0)