Skip to content

Commit c8fb2f2

Browse files
committed
Replace xtask with justfile
1 parent a7c8231 commit c8fb2f2

File tree

9 files changed

+173
-431
lines changed

9 files changed

+173
-431
lines changed

.github/workflows/ci.yml

+20-6
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,22 @@ jobs:
2626
- uses: actions-rs/toolchain@v1
2727
if: ${{ matrix.os == 'windows-latest' }}
2828
with:
29+
components: clippy
30+
profile: minimal
2931
toolchain: stable
30-
components: rustfmt, clippy
32+
33+
- uses: actions-rs/toolchain@v1
34+
if: ${{ matrix.os == 'windows-latest' }}
35+
with:
36+
components: rustfmt
3137
profile: minimal
32-
override: true
38+
toolchain: nightly
39+
3340
- uses: cachix/install-nix-action@v20
3441
if: ${{ matrix.os != 'windows-latest' }}
3542
with:
3643
nix_path: nixpkgs=channel:nixos-unstable
44+
3745
- uses: cachix/cachix-action@v12
3846
if: ${{ matrix.os != 'windows-latest' && env.CACHIX_AUTH_TOKEN != '' }}
3947
with:
@@ -45,7 +53,13 @@ jobs:
4553
with:
4654
key: ${{ matrix.os }}
4755

48-
- run: cargo xtask ci
49-
if: ${{ matrix.os == 'windows-latest' }}
50-
- run: nix-shell --cores 0 --pure --run 'rm -rf ~/.cargo/bin; cargo xtask ci'
51-
if: ${{ matrix.os != 'windows-latest' }}
56+
- name: Install just
57+
uses: taiki-e/install-action@v2
58+
with:
59+
tool: just
60+
61+
- name: Run lints
62+
run: just lint
63+
64+
- name: Run tests
65+
run: just test

0 commit comments

Comments
 (0)