@ -6,24 +6,11 @@ on:
pull_request:
branches: [ main ]
env:
CARGO_TERM_COLOR: always
jobs:
test:
runs-on: ubuntu-latest
container:
image: ghcr.io/crystal-linux/crystal:latest
steps:
- name: Prepare
run : |
pacman -Syu --needed --noconfirm
pacman -S --noconfirm rust
- name: Clippy
run: |
cargo clippy -- -D warnings
uses: actions-rs/clippy-check@v1.0.7
- name: Format
cargo fmt --check
uses: actions-rust-lang/rustfmt@v1.0.0