-
Notifications
You must be signed in to change notification settings - Fork 9
34 lines (31 loc) · 806 Bytes
/
ci.yml
File metadata and controls
34 lines (31 loc) · 806 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: check_lint_test
on: [push]
#env:
# TOOLCHAIN: nightly-2022-03-01-x86_64-unknown-linux-gnu
jobs:
typo_check_lint_test:
runs-on: ubuntu-latest
steps:
- name: Checkout Actions Repository
uses: actions/checkout@v2
- name: typo
uses: crate-ci/typos@v1.12.12
- name: install nightly toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
profile: minimal
components: rustfmt, clippy
override: true
- name: check
uses: actions-rs/cargo@v1
with:
toolchain: nightly
command: check
args: --tests
- name: clippy
uses: actions-rs/cargo@v1
with:
toolchain: nightly
command: clippy
args: --tests