This repository was archived by the owner on May 3, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +16
-33
lines changed Expand file tree Collapse file tree 2 files changed +16
-33
lines changed Original file line number Diff line number Diff line change 1
- name : CI
2
-
1
+ name : Run Tests
3
2
on :
4
3
push :
4
+ branches :
5
+ - main
5
6
paths-ignore :
6
7
- " **/*.md"
7
8
- " LICENSE"
8
9
- " **/.gitignore"
10
+ pull_request : ~
9
11
10
12
jobs :
11
- checks :
12
- runs-on : ${{ matrix.os }}
13
+ tests :
14
+ name : unit tests
13
15
strategy :
14
16
matrix :
15
17
os :
16
18
- ubuntu-latest
17
- - windows-latest
18
- - macOS-latest
19
19
rust-toolchain :
20
20
- stable
21
21
- nightly
22
+ runs-on : ${{ matrix.os }}
22
23
steps :
23
-
24
+ - uses : actions/checkout@v2
25
+
24
26
- uses : actions-rs/toolchain@v1
25
27
with :
26
28
profile : minimal
27
29
toolchain : ${{ matrix.rust-toolchain }}
28
30
components : rustfmt, clippy
29
31
override : true
30
- - name : Rustfmt
32
+
33
+ - name : Check Formatting
31
34
uses : actions-rs/cargo@v1
32
35
with :
33
36
command : fmt
34
37
args : -- --check
35
- - name : Clippy
38
+
39
+ - name : Run Clippy
36
40
continue-on-error : ${{ matrix.rust-toolchain == 'nightly' }}
37
41
uses : actions-rs/cargo@v1
38
42
with :
39
43
command : clippy
40
44
args : -- -Dwarnings
41
- unit_tests :
42
- runs-on : ${{ matrix.os }}
43
- strategy :
44
- matrix :
45
- os :
46
- - ubuntu-latest
47
- - windows-latest
48
- - macOS-latest
49
- rust-toolchain :
50
- - stable
51
- - nightly
52
- steps :
53
-
54
- - uses : actions-rs/toolchain@v1
55
- with :
56
- profile : minimal
57
- toolchain : ${{ matrix.rust-toolchain }}
58
- override : true
59
- - name : Build (debug)
60
- uses : actions-rs/cargo@v1
61
- with :
62
- command : build
63
- - name : Perform Unit Tests
45
+
46
+ - name : Run Tests
64
47
uses : actions-rs/cargo@v1
65
48
with :
66
49
command : test
Original file line number Diff line number Diff line change 2
2
3
3
_ A super-fast tool for taking stale branches and push requests and deleting and/or closing them_
4
4
5
- [ ![ Actions Status] ( https://github.com/wayfair/foxdie/workflows/CI /badge.svg?branch=main )] ( https://github.com/wayfair/foxdie/actions )
5
+ [ ![ Test Status] ( https://github.com/wayfair/foxdie/workflows/Run%20Tests /badge.svg )] ( https://github.com/wayfair/foxdie/actions?query=workflow%253A%2522Run+Tests%2522 )
6
6
7
7
## Setup
8
8
You can’t perform that action at this time.
0 commit comments