aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/pull_request.yml
diff options
context:
space:
mode:
authorFxQnLr <[email protected]>2023-10-30 12:33:57 +0100
committerFxQnLr <[email protected]>2023-10-30 12:33:57 +0100
commitbdbcce55ff7d4494f377fbb7045d572d47f7868c (patch)
tree44d1e83ce562f8fdec22d15cbab8500b3718014a /.github/workflows/pull_request.yml
parent348cf5fbe4527865e8aa5cb719fd8790f4d8953e (diff)
downloadwebol-bdbcce55ff7d4494f377fbb7045d572d47f7868c.tar
webol-bdbcce55ff7d4494f377fbb7045d572d47f7868c.tar.gz
webol-bdbcce55ff7d4494f377fbb7045d572d47f7868c.zip
cargo update and use cargo directly in actions
Diffstat (limited to '.github/workflows/pull_request.yml')
-rw-r--r--.github/workflows/pull_request.yml38
1 files changed, 6 insertions, 32 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