Skip to content

Commit ae8d3d0

Browse files
committed
gh-actions: actions-rs is archived
Signed-off-by: Daniel Schaefer <dhs@frame.work>
1 parent 8aa7b45 commit ae8d3d0

1 file changed

Lines changed: 16 additions & 24 deletions

File tree

.github/workflows/branches.yml

Lines changed: 16 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -20,30 +20,22 @@ jobs:
2020
- nightly
2121

2222
steps:
23-
- uses: actions/checkout@v2
24-
25-
- uses: actions-rs/toolchain@v1
26-
name: installing toolchain
27-
with:
28-
profile: default
29-
toolchain: ${{ matrix.rust }}
30-
override: true
31-
components: rustfmt, clippy
32-
33-
- uses: actions-rs/cargo@v1
34-
name: build
35-
with:
23+
- uses: actions/checkout@v4
24+
25+
- name: Build examples
26+
run: |
27+
cargo build --examples
28+
29+
- name: Build release config
30+
run: |
31+
cargo build --release
3632
command: build
3733
args: --release
3834
39-
- uses: actions-rs/cargo@v1
40-
name: fmt
41-
with:
42-
command: fmt
43-
args: --all -- --check
44-
45-
- uses: actions-rs/cargo@v1
46-
name: clippy
47-
with:
48-
command: clippy
49-
args: -- -D warnings
35+
- name: Check formatting
36+
run: |
37+
cargo fmt --all -- --check
38+
39+
- name: Check formatting
40+
run: |
41+
cargo clippy -- -D warnings

0 commit comments

Comments
 (0)