File tree 1 file changed +4
-44
lines changed
1 file changed +4
-44
lines changed Original file line number Diff line number Diff line change 19
19
- name : Check flake
20
20
run : nix flake check --all-systems
21
21
22
- test-wasm :
23
- name : Test WASM
22
+ test-stable :
23
+ name : Test - stable toolchain
24
24
runs-on : ubuntu-latest
25
25
26
26
steps :
35
35
- name : Enable Rust cache
36
36
uses : Swatinem/rust-cache@v2
37
37
38
- - name : Run WASM tests
38
+ - name : Run test script
39
39
run : |
40
- nix develop --command bash -c "wasm-pack test --headless --firefox"
41
-
42
- clippy :
43
- name : Clippy
44
- runs-on : ubuntu-latest
45
-
46
- steps :
47
- - name : Checkout
48
- uses : actions/checkout@v3
49
-
50
- - name : Install nix
51
- uses : cachix/install-nix-action@v24
52
- with :
53
- github_access_token : ${{ secrets.GITHUB_TOKEN }}
54
-
55
- - name : Enable Rust cache
56
- uses : Swatinem/rust-cache@v2
57
-
58
- - name : Run clippy
59
- run : |
60
- nix develop --command bash -c "cargo clippy --all-targets -- --deny warnings"
61
-
62
- rustfmt :
63
- name : Rustfmt
64
- runs-on : ubuntu-latest
65
-
66
- steps :
67
- - name : Checkout
68
- uses : actions/checkout@v3
69
-
70
- - name : Install nix
71
- uses : cachix/install-nix-action@v24
72
- with :
73
- github_access_token : ${{ secrets.GITHUB_TOKEN }}
74
-
75
- - name : Enable Rust cache
76
- uses : Swatinem/rust-cache@v2
77
-
78
- - name : Run rustfmt
79
- run : |
80
- nix develop --command bash -c "cargo fmt --all -- --check"
40
+ nix develop --command bash -c "just check"
You can’t perform that action at this time.
0 commit comments