Skip to content

Commit

Permalink
ADD: github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
not-elm committed Mar 19, 2024
1 parent 15b74af commit 4782af8
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Unit Test
run-name: ${{ github.actor }} is testing
on: [ push, pull_request ]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Toolchain
uses: dtolnay/rust-toolchain@nightly
with:
components: clippy
- name: Clippy
run: cargo clippy --all --all-features
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Toolchain
uses: dtolnay/rust-toolchain@stable
- name: Test
run: cargo test --all-features --all

0 comments on commit 4782af8

Please sign in to comment.