File tree 4 files changed +26
-10
lines changed
4 files changed +26
-10
lines changed Original file line number Diff line number Diff line change @@ -21,18 +21,31 @@ jobs:
21
21
22
22
clippy_format :
23
23
runs-on : ubuntu-latest
24
- strategy :
25
- matrix :
26
- rust :
27
- - stable
24
+
28
25
steps :
29
26
- uses : actions/checkout@v4
27
+ with :
28
+ submodules : true
30
29
31
- - name : Obtain Rust
32
- run : rustup override set ${{ matrix.rust }}
30
+ - name : Set up Rust
31
+ id : toolchain
32
+ uses : dtolnay/rust-toolchain@stable
33
+ with :
34
+ components : clippy, rustfmt
35
+
36
+ - uses : actions/cache@v3
37
+ with :
38
+ path : |
39
+ ~/.cargo/bin/
40
+ ~/.cargo/registry/index/
41
+ ~/.cargo/registry/cache/
42
+ ~/.cargo/git/db/
43
+ tmp/
44
+ target/
45
+ key : ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}-v1
33
46
34
47
- name : Check clippy
35
- run : rustup component add clippy && cargo clippy
48
+ run : cargo clippy
36
49
37
50
- name : Check formatting
38
- run : rustup component add rustfmt && cargo fmt -- --check
51
+ run : cargo fmt -- --check
Original file line number Diff line number Diff line change 4
4
5
5
[workspace ]
6
6
members = [" ext/commonmarker" ]
7
+ resolver = " 2"
Original file line number Diff line number Diff line change 2
2
name = " commonmarker"
3
3
version = " 1.0.0"
4
4
edition = " 2021"
5
+ rust-version = " 1.75.0"
6
+ publish = false
5
7
6
8
[dependencies ]
7
- magnus = " 0.6"
9
+ magnus = " 0.6"
8
10
comrak = { version = " 0.20" , features = [" shortcodes" ] }
9
11
syntect = { version = " 5.1" , features = [" plist-load" ] }
10
12
Original file line number Diff line number Diff line change 1
1
# frozen_string_literal: true
2
2
3
3
module Commonmarker
4
- VERSION = "1.0.3 "
4
+ VERSION = "1.0.4 "
5
5
end
You can’t perform that action at this time.
0 commit comments