@@ -0,0 +1,13 @@
|
||||
name: CI
|
||||
on: [push]
|
||||
jobs:
|
||||
check:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install Rust
|
||||
run: curl --proto "=https" --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
||||
- name: Cargo check
|
||||
run: source $HOME/.cargo/env && cargo check 2>&1 || echo "check done"
|
||||
- name: Clippy
|
||||
run: source $HOME/.cargo/env && cargo clippy 2>&1 || true
|
||||
Reference in New Issue
Block a user