Skip to content

Commit

Permalink
Create rusttest.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Heiss authored Jun 1, 2024
1 parent 3bd373f commit e4f1cc1
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/rusttest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
on: [ push ]

name: Test & Check formatting

jobs:
clippy_check:
name: Clippy check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- run: rustup component add clippy
- uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2

- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true

- run: cargo test

0 comments on commit e4f1cc1

Please sign in to comment.