This repository has been archived on 2023-03-24. You can view files and clone it, but cannot push or open issues or pull requests.
rustlings-exercises-completed/.github/workflows/main.yml

23 lines
502 B
YAML
Raw Normal View History

2019-08-21 06:23:38 -05:00
on: [push, pull_request]
jobs:
ci:
name: CI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
with:
fetch-depth: 50
- name: Install Rust Stable
run: |
rustc -vV
rustup update stable
rustup default stable
rustc -vV
- name: Run rustfmt
run: cargo fmt -- --check
- name: Run clippy
run: cargo clippy -- -Dwarnings
- name: Run tests
run: cargo test --verbose