mirror of
https://github.com/arnaucube/ethdos-fold.git
synced 2026-01-12 00:41:29 +01:00
add GHA test & clippy
This commit is contained in:
20
.github/workflows/ci.yml
vendored
Normal file
20
.github/workflows/ci.yml
vendored
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
name: Test
|
||||||
|
on: [push, pull_request]
|
||||||
|
env:
|
||||||
|
CARGO_TERM_COLOR: always
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Build
|
||||||
|
run: cargo build --release --verbose
|
||||||
|
- name: Tests
|
||||||
|
run: |
|
||||||
|
cargo test --release --verbose
|
||||||
|
clippy:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: Clippy
|
||||||
|
run: cargo clippy --all-targets --all-features
|
||||||
Reference in New Issue
Block a user