add actions #3

Open
soruh wants to merge 14 commits from CI into master
2 changed files with 5 additions and 5 deletions
Showing only changes of commit 3cae37852a - Show all commits

View File

@ -11,11 +11,11 @@ jobs:
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
# Ensure rustfmt is installed and setup problem matcher # Ensure rustfmt is installed and setup problem matcher
- uses: actions-rust-lang/setup-rust-toolchain@v1 - uses: http://github.com/actions-rust-lang/setup-rust-toolchain@v1
with: with:
components: rustfmt components: rustfmt
- name: Rustfmt Check - name: Rustfmt Check
uses: actions-rust-lang/rustfmt@v1 uses: http://github.com/actions-rust-lang/rustfmt@v1
# Check code with clippy # Check code with clippy
clippy: clippy:
@ -24,8 +24,8 @@ jobs:
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
# Ensure clippy is installed and setup problem matcher # Ensure clippy is installed and setup problem matcher
- uses: actions-rust-lang/setup-rust-toolchain@v1 - uses: http://github.com/actions-rust-lang/setup-rust-toolchain@v1
with: with:
components: clippy components: clippy
- name: Clippy - name: Clippy
uses: actions-rust-lang/clippy@v1 uses: http://github.com/actions-rust-lang/clippy@v1

View File

@ -9,5 +9,5 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: actions-rust-lang/setup-rust-toolchain@v1 - uses: http://github.com/actions-rust-lang/setup-rust-toolchain@v1
- run: cargo test --all-features - run: cargo test --all-features