Skip to content

Commit

Permalink
Merge pull request #12 from stmtk1/main
Browse files Browse the repository at this point in the history
CI用のgithub actionを用意しました
  • Loading branch information
skanehira committed May 4, 2023
2 parents a671234 + 3a30e1c commit bbe2f25
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
on: [push]

jobs:
lint:
runs-on: ubuntu-latest
name: Run clippy
steps:
- name: checkout
uses: actions/checkout@v3
- name: Setup rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Run clippy
run: cargo clippy --all-targets --all-features -- -D warnings
test:
runs-on: ubuntu-latest
name: Run test
steps:
- name: checkout
uses: actions/checkout@v3
with:
submodules: recursive
- name: Setup rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Run test
run: cargo test --all -- --nocapture

0 comments on commit bbe2f25

Please sign in to comment.