Move to pretty predefined actions

i18n
Michal S 2 years ago committed by Michal
parent 27ebe2b672
commit b2a51cc79a

@ -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
run: |
cargo fmt --check
uses: actions-rust-lang/rustfmt@v1.0.0

Loading…
Cancel
Save