diff options
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/pull_request.yml | 38 | ||||
-rw-r--r-- | .github/workflows/push.yml | 18 |
2 files changed, 8 insertions, 48 deletions
diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index d7eaaf3..279e16d 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml | |||
@@ -19,21 +19,9 @@ jobs: | |||
19 | uses: mozilla-actions/[email protected] | 19 | uses: mozilla-actions/[email protected] |
20 | 20 | ||
21 | - uses: actions/checkout@v4 | 21 | - uses: actions/checkout@v4 |
22 | - uses: actions-rs/toolchain@v1 | 22 | |
23 | with: | 23 | - run: cargo check |
24 | toolchain: stable | 24 | - run: cargo clippy |
25 | components: rustfmt, clippy | ||
26 | override: true | ||
27 | |||
28 | - name: run cargo check | ||
29 | uses: actions-rs/cargo@v1 | ||
30 | with: | ||
31 | command: check | ||
32 | |||
33 | - name: run clippy | ||
34 | uses: actions-rs/cargo@v1 | ||
35 | with: | ||
36 | command: clippy | ||
37 | 25 | ||
38 | check-release: | 26 | check-release: |
39 | runs-on: ubuntu-latest | 27 | runs-on: ubuntu-latest |
@@ -42,20 +30,6 @@ jobs: | |||
42 | uses: mozilla-actions/[email protected] | 30 | uses: mozilla-actions/[email protected] |
43 | 31 | ||
44 | - uses: actions/checkout@v4 | 32 | - uses: actions/checkout@v4 |
45 | - uses: actions-rs/toolchain@v1 | 33 | |
46 | with: | 34 | - run: cargo check --release |
47 | toolchain: stable | 35 | - run: cargo clippy --release \ No newline at end of file |
48 | components: rustfmt, clippy | ||
49 | override: true | ||
50 | |||
51 | - name: run cargo check | ||
52 | uses: actions-rs/cargo@v1 | ||
53 | with: | ||
54 | command: check | ||
55 | args: --release | ||
56 | |||
57 | - name: run clippy | ||
58 | uses: actions-rs/cargo@v1 | ||
59 | with: | ||
60 | command: clippy | ||
61 | args: --release | ||
diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 93b6edb..d41941b 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml | |||
@@ -19,23 +19,9 @@ jobs: | |||
19 | uses: mozilla-actions/[email protected] | 19 | uses: mozilla-actions/[email protected] |
20 | 20 | ||
21 | - uses: actions/checkout@v4 | 21 | - uses: actions/checkout@v4 |
22 | - uses: actions-rs/toolchain@v1 | ||
23 | with: | ||
24 | toolchain: stable | ||
25 | components: rustfmt, clippy | ||
26 | override: true | ||
27 | 22 | ||
28 | - name: Run cargo check | 23 | - run: cargo check --release |
29 | uses: actions-rs/cargo@v1 | 24 | - run: cargo clippy --release |
30 | with: | ||
31 | command: check | ||
32 | args: --release | ||
33 | |||
34 | - name: Run Clippy | ||
35 | uses: actions-rs/cargo@v1 | ||
36 | with: | ||
37 | command: clippy | ||
38 | args: --release | ||
39 | 25 | ||
40 | build: | 26 | build: |
41 | runs-on: ubuntu-latest | 27 | runs-on: ubuntu-latest |