File tree 23 files changed +810
-108
lines changed
23 files changed +810
-108
lines changed Original file line number Diff line number Diff line change
1
+ name : elliptic-curve crate
2
+
3
+ on :
4
+ pull_request :
5
+ paths :
6
+ - " elliptic-curve-crate/**"
7
+ - " Cargo.*"
8
+ push :
9
+ branches : master
10
+ paths :
11
+ - " elliptic-curve-crate/**"
12
+ - " Cargo.*"
13
+
14
+ jobs :
15
+ build :
16
+ runs-on : ubuntu-latest
17
+ strategy :
18
+ matrix :
19
+ rust :
20
+ - 1.41.0 # MSRV
21
+ - stable
22
+ target :
23
+ - thumbv7em-none-eabi
24
+ - wasm32-unknown-unknown
25
+ steps :
26
+ - uses : actions/checkout@v1
27
+ - uses : actions-rs/toolchain@v1
28
+ with :
29
+ profile : minimal
30
+ toolchain : ${{ matrix.rust }}
31
+ target : ${{ matrix.target }}
32
+ override : true
33
+ - working-directory : elliptic-curve-crate
34
+ run : cargo build --no-default-features --release --target ${{ matrix.target }}
35
+ test :
36
+ runs-on : ubuntu-latest
37
+ strategy :
38
+ matrix :
39
+ rust :
40
+ - 1.41.0 # MSRV
41
+ - stable
42
+ steps :
43
+ - uses : actions/checkout@v1
44
+ - uses : actions-rs/toolchain@v1
45
+ with :
46
+ profile : minimal
47
+ toolchain : ${{ matrix.rust }}
48
+ - run : |
49
+ cargo check --all-features
50
+ cargo test --no-default-features
51
+ cargo test
52
+ cargo test --all-features
53
+ working-directory: elliptic-curve-crate
Original file line number Diff line number Diff line change
1
+ name : k256
2
+
3
+ on :
4
+ pull_request :
5
+ paths :
6
+ - " elliptic-curve-crate/**"
7
+ - " k256/**"
8
+ - " Cargo.*"
9
+ push :
10
+ branches : master
11
+ paths :
12
+ - " elliptic-curve-crate/**"
13
+ - " k256/**"
14
+ - " Cargo.*"
15
+
16
+ jobs :
17
+ build :
18
+ runs-on : ubuntu-latest
19
+ strategy :
20
+ matrix :
21
+ rust :
22
+ - 1.41.0 # MSRV
23
+ - stable
24
+ target :
25
+ - thumbv7em-none-eabi
26
+ - wasm32-unknown-unknown
27
+ steps :
28
+ - uses : actions/checkout@v1
29
+ - uses : actions-rs/toolchain@v1
30
+ with :
31
+ profile : minimal
32
+ toolchain : ${{ matrix.rust }}
33
+ target : ${{ matrix.target }}
34
+ override : true
35
+ - working-directory : k256
36
+ run : cargo build --no-default-features --release --target ${{ matrix.target }}
37
+ test :
38
+ runs-on : ubuntu-latest
39
+ strategy :
40
+ matrix :
41
+ rust :
42
+ - 1.41.0 # MSRV
43
+ - stable
44
+ steps :
45
+ - uses : actions/checkout@v1
46
+ - uses : actions-rs/toolchain@v1
47
+ with :
48
+ profile : minimal
49
+ toolchain : ${{ matrix.rust }}
50
+ - run : |
51
+ cargo check --all-features
52
+ cargo test --no-default-features
53
+ cargo test
54
+ cargo test --all-features
55
+ working-directory: k256
Original file line number Diff line number Diff line change
1
+ name : p256
2
+
3
+ on :
4
+ pull_request :
5
+ paths :
6
+ - " elliptic-curve-crate/**"
7
+ - " p256/**"
8
+ - " Cargo.*"
9
+ push :
10
+ branches : master
11
+ paths :
12
+ - " elliptic-curve-crate/**"
13
+ - " p256/**"
14
+ - " Cargo.*"
15
+
16
+ jobs :
17
+ build :
18
+ runs-on : ubuntu-latest
19
+ strategy :
20
+ matrix :
21
+ rust :
22
+ - 1.41.0 # MSRV
23
+ - stable
24
+ target :
25
+ - thumbv7em-none-eabi
26
+ - wasm32-unknown-unknown
27
+ steps :
28
+ - uses : actions/checkout@v1
29
+ - uses : actions-rs/toolchain@v1
30
+ with :
31
+ profile : minimal
32
+ toolchain : ${{ matrix.rust }}
33
+ target : ${{ matrix.target }}
34
+ override : true
35
+ - working-directory : p256
36
+ run : cargo build --no-default-features --release --target ${{ matrix.target }}
37
+ test :
38
+ runs-on : ubuntu-latest
39
+ strategy :
40
+ matrix :
41
+ rust :
42
+ - 1.41.0 # MSRV
43
+ - stable
44
+ steps :
45
+ - uses : actions/checkout@v1
46
+ - uses : actions-rs/toolchain@v1
47
+ with :
48
+ profile : minimal
49
+ toolchain : ${{ matrix.rust }}
50
+ - run : |
51
+ cargo check --all-features
52
+ cargo test --no-default-features
53
+ cargo test
54
+ cargo test --all-features
55
+ working-directory: p256
Original file line number Diff line number Diff line change
1
+ name : p384
2
+
3
+ on :
4
+ pull_request :
5
+ paths :
6
+ - " elliptic-curve-crate/**"
7
+ - " p384/**"
8
+ - " Cargo.*"
9
+ push :
10
+ branches : master
11
+ paths :
12
+ - " elliptic-curve-crate/**"
13
+ - " p384/**"
14
+ - " Cargo.*"
15
+
16
+ jobs :
17
+ build :
18
+ runs-on : ubuntu-latest
19
+ strategy :
20
+ matrix :
21
+ rust :
22
+ - 1.41.0 # MSRV
23
+ - stable
24
+ target :
25
+ - thumbv7em-none-eabi
26
+ - wasm32-unknown-unknown
27
+ steps :
28
+ - uses : actions/checkout@v1
29
+ - uses : actions-rs/toolchain@v1
30
+ with :
31
+ profile : minimal
32
+ toolchain : ${{ matrix.rust }}
33
+ target : ${{ matrix.target }}
34
+ override : true
35
+ - working-directory : p384
36
+ run : cargo build --no-default-features --release --target ${{ matrix.target }}
37
+ test :
38
+ runs-on : ubuntu-latest
39
+ strategy :
40
+ matrix :
41
+ rust :
42
+ - 1.41.0 # MSRV
43
+ - stable
44
+ steps :
45
+ - uses : actions/checkout@v1
46
+ - uses : actions-rs/toolchain@v1
47
+ with :
48
+ profile : minimal
49
+ toolchain : ${{ matrix.rust }}
50
+ - run : |
51
+ cargo check --all-features
52
+ cargo test --no-default-features
53
+ cargo test
54
+ cargo test --all-features
55
+ working-directory: p384
Original file line number Diff line number Diff line change
1
+ name : p521
2
+
3
+ on :
4
+ pull_request :
5
+ paths :
6
+ - " elliptic-curve-crate/**"
7
+ - " p521/**"
8
+ - " Cargo.*"
9
+ push :
10
+ branches : master
11
+ paths :
12
+ - " elliptic-curve-crate/**"
13
+ - " p521/**"
14
+ - " Cargo.*"
15
+
16
+ jobs :
17
+ build :
18
+ runs-on : ubuntu-latest
19
+ strategy :
20
+ matrix :
21
+ rust :
22
+ - 1.41.0 # MSRV
23
+ - stable
24
+ target :
25
+ - thumbv7em-none-eabi
26
+ - wasm32-unknown-unknown
27
+ steps :
28
+ - uses : actions/checkout@v1
29
+ - uses : actions-rs/toolchain@v1
30
+ with :
31
+ profile : minimal
32
+ toolchain : ${{ matrix.rust }}
33
+ target : ${{ matrix.target }}
34
+ override : true
35
+ - working-directory : p521
36
+ run : cargo build --no-default-features --release --target ${{ matrix.target }}
37
+ test :
38
+ runs-on : ubuntu-latest
39
+ strategy :
40
+ matrix :
41
+ rust :
42
+ - 1.41.0 # MSRV
43
+ - stable
44
+ steps :
45
+ - uses : actions/checkout@v1
46
+ - uses : actions-rs/toolchain@v1
47
+ with :
48
+ profile : minimal
49
+ toolchain : ${{ matrix.rust }}
50
+ - run : |
51
+ cargo check --all-features
52
+ cargo test --no-default-features
53
+ cargo test
54
+ cargo test --all-features
55
+ working-directory: p521
Original file line number Diff line number Diff line change
1
+ name : Security Audit
2
+ on :
3
+ pull_request :
4
+ paths : Cargo.lock
5
+ push :
6
+ branches : develop
7
+ paths : Cargo.lock
8
+ schedule :
9
+ - cron : ' 0 0 * * *'
10
+
11
+ jobs :
12
+ security_audit :
13
+ name : Security Audit
14
+ runs-on : ubuntu-latest
15
+ steps :
16
+ - uses : actions/checkout@v1
17
+ - name : Cache cargo bin
18
+ uses : actions/cache@v1
19
+ with :
20
+ path : ~/.cargo/bin
21
+ key : ${{ runner.os }}-cargo-audit-v0.12.0
22
+ - uses : actions-rs/audit-check@v1
23
+ with :
24
+ token : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change
1
+ name : Workspace
2
+
3
+ on :
4
+ pull_request :
5
+ paths-ignore :
6
+ - README.md
7
+ push :
8
+ branches : master
9
+ paths-ignore :
10
+ - README.md
11
+
12
+ jobs :
13
+ clippy :
14
+ runs-on : ubuntu-latest
15
+ steps :
16
+ - uses : actions/checkout@v1
17
+ - uses : actions-rs/toolchain@v1
18
+ with :
19
+ profile : minimal
20
+ toolchain : 1.41.0
21
+ components : clippy
22
+ - run : cargo clippy --all --all-features -- -D warnings
23
+ rustfmt :
24
+ runs-on : ubuntu-latest
25
+ steps :
26
+ - name : Checkout sources
27
+ uses : actions/checkout@v1
28
+
29
+ - name : Install stable toolchain
30
+ uses : actions-rs/toolchain@v1
31
+ with :
32
+ profile : minimal
33
+ toolchain : stable
34
+ components : rustfmt
35
+
36
+ - name : Run cargo fmt
37
+ uses : actions-rs/cargo@v1
38
+ with :
39
+ command : fmt
40
+ args : --all -- --check
Original file line number Diff line number Diff line change 1
- Cargo.lock
2
1
target
3
2
* .sw *
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments