Skip to content

Add superlinter

Add superlinter #227

Workflow file for this run

name: Cargo checks
on:
pull_request:
push:
branches:
- main
jobs:
cargo-checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
profile: minimal
components: rustfmt, clippy
- name: Check formatting
run: cargo fmt --all -- --check
- name: Clippy
run: cargo clippy --all
- name: build docker image
run: docker build docker -t ponylang-playpen
- name: Cargo test
run: cargo test --all -- --nocapture